Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { pkgs, ... }: |
| 2 | let |
Skyler Grey | b562da3 | 2022-09-01 23:36:28 +0100 | [diff] [blame] | 3 | config = { |
| 4 | left = { |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 5 | enter_command = [ ./systemd-inhibit/inhibit-idle.sh ]; |
| 6 | exit_command = [ ./systemd-inhibit/stop-inhibiting-idle.sh ]; |
| 7 | locations = [ "bottom_right" "bottom_left" ]; |
Skyler Grey | b562da3 | 2022-09-01 23:36:28 +0100 | [diff] [blame] | 8 | size = 10; |
| 9 | timeout_ms = 250; |
| 10 | }; |
| 11 | "left.output".description = ""; |
| 12 | }; |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 13 | in |
| 14 | { |
Skyler Grey | b562da3 | 2022-09-01 23:36:28 +0100 | [diff] [blame] | 15 | home = { |
| 16 | home = { |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 17 | packages = [ pkgs.waycorner ]; |
| 18 | file.".config/waycorner/config.toml".source = (pkgs.formats.toml { }).generate "config.toml" config; |
Skyler Grey | b562da3 | 2022-09-01 23:36:28 +0100 | [diff] [blame] | 19 | }; |
| 20 | wayland.windowManager.sway.config.startup = [ |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 21 | { command = "${pkgs.waycorner}/bin/waycorner"; } |
Skyler Grey | b562da3 | 2022-09-01 23:36:28 +0100 | [diff] [blame] | 22 | ]; |
| 23 | }; |
| 24 | } |