Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { pkgs |
| 2 | , home |
| 3 | , lib |
| 4 | , ... |
Skyler Grey | ff71562 | 2022-09-01 23:59:07 +0100 | [diff] [blame] | 5 | }: { |
| 6 | home = { |
| 7 | home = { |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 8 | packages = [ pkgs.rofi-wayland ]; |
Skyler Grey | 4457049 | 2022-10-31 00:10:36 +0000 | [diff] [blame] | 9 | file.".config/rofi/config.rasi".source = ./launcher/config.rasi; |
Skyler Grey | ff71562 | 2022-09-01 23:59:07 +0100 | [diff] [blame] | 10 | }; |
| 11 | wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault { |
Skyler Grey | 4457049 | 2022-10-31 00:10:36 +0000 | [diff] [blame] | 12 | "${home.wayland.windowManager.sway.config.modifier}+d" = "exec sh -c '${pkgs.procps}/bin/pkill rofi; ${pkgs.rofi-wayland}/bin/rofi -show combi'"; |
| 13 | "${home.wayland.windowManager.sway.config.modifier}+minus" = "exec sh -c '${pkgs.procps}/bin/pkill rofi; ${./launcher/show-scratchpad.sh}'"; |
Skyler Grey | ff71562 | 2022-09-01 23:59:07 +0100 | [diff] [blame] | 14 | }; |
| 15 | }; |
| 16 | } |