diff --git a/hmModules/niri/config.kdl b/hmModules/niri/config.kdl index 7634d04..7d25a06 100644 --- a/hmModules/niri/config.kdl +++ b/hmModules/niri/config.kdl @@ -300,6 +300,9 @@ window-rule { open-maximized true } +window-rule { + match app-id=r#"^Emacs Selector$"# +} @@ -332,6 +335,7 @@ binds { Mod+G { spawn "emacsclient" "-c" "--eval" "(switch-to-buffer (gptel \"*ChatGPT*\"))"; } Mod+Shift+C { spawn "emacsclient" "-c" "--eval" "(org-roam-dailies-capture-today)"; } Super+Alt+L { spawn "swaylock"; } + Mod+Space { spawn "rofi" "-show" "menu" "-modi" "menu:rofi-power-menu"; } // Example volume keys mappings for PipeWire & WirePlumber. diff --git a/hmModules/waybar/default.nix b/hmModules/waybar/default.nix index f8e5c85..0e544d9 100644 --- a/hmModules/waybar/default.nix +++ b/hmModules/waybar/default.nix @@ -19,6 +19,10 @@ fi ''; + home.packages = with pkgs; [ + rofi-power-menu + ]; + # waybar needs the hyprctl binary in PATH when started in hyprland # TODO still needed? systemd.user.services.waybar.Service.Environment = "PATH=${lib.makeBinPath [ pkgs.hyprland ]}";