diff options
-rw-r--r-- | usecases/desktop/graphical/rofi.nix | 9 | ||||
-rw-r--r-- | usecases/desktop/graphical/sway.nix | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/usecases/desktop/graphical/rofi.nix b/usecases/desktop/graphical/rofi.nix index 741e7da..f14c7ce 100644 --- a/usecases/desktop/graphical/rofi.nix +++ b/usecases/desktop/graphical/rofi.nix | |||
@@ -11,6 +11,15 @@ _inputs: { | |||
11 | rofi-calc | 11 | rofi-calc |
12 | ]; | 12 | ]; |
13 | 13 | ||
14 | pass = { | ||
15 | enable = true; | ||
16 | package = pkgs.rofi-pass-wayland; | ||
17 | extraConfig = '' | ||
18 | clip="clipboard" | ||
19 | help_color="${config.theme.colors.dominant}" | ||
20 | ''; | ||
21 | }; | ||
22 | |||
14 | # TODO: there is a better way | 23 | # TODO: there is a better way |
15 | theme = with config.theme.colors; | 24 | theme = with config.theme.colors; |
16 | builtins.toFile "theme.rasi" '' | 25 | builtins.toFile "theme.rasi" '' |
diff --git a/usecases/desktop/graphical/sway.nix b/usecases/desktop/graphical/sway.nix index cbe8d9d..509d8a7 100644 --- a/usecases/desktop/graphical/sway.nix +++ b/usecases/desktop/graphical/sway.nix | |||
@@ -158,6 +158,7 @@ _inputs: { | |||
158 | "${modifier}+m" = "exec ${pkgs.swaylock}/bin/swaylock"; | 158 | "${modifier}+m" = "exec ${pkgs.swaylock}/bin/swaylock"; |
159 | 159 | ||
160 | "${modifier}+c" = "exec rofi -show calc -modi calc -no-sort -no-persist-history -calc-command 'echo -n {result} | wl-copy'"; | 160 | "${modifier}+c" = "exec rofi -show calc -modi calc -no-sort -no-persist-history -calc-command 'echo -n {result} | wl-copy'"; |
161 | "${modifier}+p" = "exec rofi-pass"; | ||
161 | 162 | ||
162 | "XF86AudioRaiseVolume" = "exec ${pkgs.pamixer}/bin/pamixer -i 5"; | 163 | "XF86AudioRaiseVolume" = "exec ${pkgs.pamixer}/bin/pamixer -i 5"; |
163 | "XF86AudioLowerVolume" = "exec ${pkgs.pamixer}/bin/pamixer -d 5"; | 164 | "XF86AudioLowerVolume" = "exec ${pkgs.pamixer}/bin/pamixer -d 5"; |