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