feat: bibata cursor, keybinds for screenshot and power menu

This commit is contained in:
2026-04-29 16:38:31 -04:00
parent 03c3c74683
commit 43e1ba3cb7
3 changed files with 21 additions and 11 deletions
+11 -8
View File
@@ -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;
+5 -3
View File
@@ -1,11 +1,13 @@
{ hostName, pkgs, wallpaper, ... }: { config, hostName, pkgs, wallpaper, ... }:
{ {
home.packages = [ pkgs.river-bsp-layout ]; home.packages = [ pkgs.river-bsp-layout ];
xdg.configFile."river/init" = { xdg.configFile."river/init" = {
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;
}; };
+5
View File
@@ -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