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 = { |
| 9 | packages = [pkgs.wofi]; |
| 10 | file.".config/wofi/config".source = ./launcher/config.toml; |
| 11 | }; |
| 12 | wayland.windowManager.sway.config.keybindings = lib.mkOptionDefault { |
| 13 | "${home.wayland.windowManager.sway.config.modifier}+d" = "exec sh -c '${pkgs.procps}/bin/pkill wofi; ${pkgs.wofi}/bin/wofi'"; |
| 14 | "${home.wayland.windowManager.sway.config.modifier}+minus" = "exec sh -c '${pkgs.procps}/bin/pkill wofi; ${./launcher/show-scratchpad.sh}'"; |
| 15 | }; |
| 16 | }; |
| 17 | } |