From b9163212a3450520cf45e86072f3e5bd34a01adf Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Fri, 17 Jan 2025 11:22:55 +0100 Subject: [PATCH] Add back rofi-rbw-script to niri --- home/modules/linux/graphical/wayland.nix | 1 + home/modules/programs/my-niri.nix | 1 + 2 files changed, 2 insertions(+) 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; };