feat: bibata cursor, keybinds for screenshot and power menu
This commit is contained in:
+11
-8
@@ -1,4 +1,11 @@
|
|||||||
{ inputs, lib, pkgs, ... }:
|
{ inputs, lib, pkgs, ... }:
|
||||||
|
let
|
||||||
|
cursorTheme = {
|
||||||
|
name = "Bibata-Modern-Ice";
|
||||||
|
package = pkgs.bibata-cursors;
|
||||||
|
size = 3;
|
||||||
|
};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.zen-browser.homeModules.default
|
inputs.zen-browser.homeModules.default
|
||||||
@@ -37,20 +44,16 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
name = "catppuccin-mocha-pink-cursors";
|
name = cursorTheme.name;
|
||||||
package = pkgs.catppuccin-cursors.mochaPink;
|
package = cursorTheme.package;
|
||||||
size = 6;
|
size = cursorTheme.size;
|
||||||
x11.enable = true;
|
x11.enable = true;
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cursorTheme = {
|
inherit cursorTheme;
|
||||||
name = "catppuccin-mocha-pink-cursors";
|
|
||||||
package = pkgs.catppuccin-cursors.mochaPink;
|
|
||||||
size = 6;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ hostName, pkgs, wallpaper, ... }:
|
{ config, hostName, pkgs, wallpaper, ... }:
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.river-bsp-layout ];
|
home.packages = [ pkgs.river-bsp-layout ];
|
||||||
|
|
||||||
@@ -6,6 +6,8 @@
|
|||||||
source = pkgs.replaceVars ./init.sh {
|
source = pkgs.replaceVars ./init.sh {
|
||||||
inherit wallpaper;
|
inherit wallpaper;
|
||||||
inherit hostName;
|
inherit hostName;
|
||||||
|
cursorName = config.home.pointerCursor.name;
|
||||||
|
cursorSize = config.home.pointerCursor.size;
|
||||||
};
|
};
|
||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,7 +3,10 @@
|
|||||||
# https://codeberg.org/river/river-classic/src/branch/main/example/init
|
# https://codeberg.org/river/river-classic/src/branch/main/example/init
|
||||||
|
|
||||||
riverctl map normal Super Q spawn havoc
|
riverctl map normal Super Q spawn havoc
|
||||||
|
|
||||||
riverctl map normal Super D spawn "rofi -show run"
|
riverctl map normal Super D spawn "rofi -show run"
|
||||||
|
riverctl map normal Super+Shift P spawn "rofi -show pm -modi pm:rofi-power-menu"
|
||||||
|
riverctl map normal Super+Shift S spawn "gscreenshot -c -s"
|
||||||
|
|
||||||
riverctl map normal Super C close
|
riverctl map normal Super C close
|
||||||
riverctl map normal Super+Shift M exit
|
riverctl map normal Super+Shift M exit
|
||||||
@@ -64,6 +67,8 @@ riverctl border-color-focused 0xf5c2e7
|
|||||||
riverctl border-color-unfocused 0x313244
|
riverctl border-color-unfocused 0x313244
|
||||||
riverctl border-width 2
|
riverctl border-width 2
|
||||||
|
|
||||||
|
riverctl xcursor-theme @cursorName@ @cursorSize@
|
||||||
|
|
||||||
riverctl set-repeat 30 300
|
riverctl set-repeat 30 300
|
||||||
|
|
||||||
riverctl default-layout bsp-layout
|
riverctl default-layout bsp-layout
|
||||||
|
|||||||
Reference in New Issue
Block a user