diff --git a/home/modules/linux/graphical/wayland.nix b/home/modules/linux/graphical/wayland.nix index 6aa2b9f..d44d534 100644 --- a/home/modules/linux/graphical/wayland.nix +++ b/home/modules/linux/graphical/wayland.nix @@ -66,6 +66,7 @@ let name = "rofi-rbw-script"; runtimeInputs = with pkgs; [ rofi wtype rofi-rbw ]; text = "rofi-rbw"; + meta.mainProgram = "rofi-rbw-script"; }; in with lib; diff --git a/home/modules/programs/my-niri.nix b/home/modules/programs/my-niri.nix index f08b43e..d62a175 100644 --- a/home/modules/programs/my-niri.nix +++ b/home/modules/programs/my-niri.nix @@ -258,6 +258,7 @@ in "Mod+Space".action = spawn (lib.getExe pkgs.rofi) "-show" "drun"; "Mod+R".action = sh app-menu; "Mod+Semicolon".action = spawn cfg.lock-command; + "Mod+Shift+P".action = spawn "rofi-rbw-script"; # Audio and Volume "XF86AudioPrev" = { action = spawn playerctl "previous"; allow-when-locked = true; };