diff --git a/home/wm/niri/config.kdl b/home/wm/niri/config.kdl index a6116bf..3962ccf 100644 --- a/home/wm/niri/config.kdl +++ b/home/wm/niri/config.kdl @@ -80,6 +80,7 @@ binds { Mod+Shift+Escape repeat=false { spawn "@power_menu_cmd@"; } Mod+Shift+W repeat=false { spawn "@wpaperctl_cmd@" "next"; } + Mod+Shift+U repeat=false { spawn "@swaync_client_cmd@" "-t" "-sw"; } Mod+Return repeat=false { spawn "@kitty_cmd@" "@tmux_cmd@" "new"; } Mod+Shift+Return repeat=false { spawn "@kitty_cmd@"; } diff --git a/home/wm/niri/default.nix b/home/wm/niri/default.nix index 536632f..d2c9834 100644 --- a/home/wm/niri/default.nix +++ b/home/wm/niri/default.nix @@ -31,6 +31,7 @@ librewolf_cmd = "${lib.getExe pkgs.librewolf}"; wpctl_cmd = "${pkgs.wireplumber}/bin/wpctl"; brightnessctl_cmd = "${lib.getExe pkgs.brightnessctl}"; + swaync_client_cmd = "${pkgs.swaynotificationcenter}/bin/swaync-client"; power_menu_cmd = "${pkgs.misc-scripts}/bin/power-menu"; tmux_sessions_cmd = "${pkgs.misc-scripts}/bin/tmux-sessions";