Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 1 | { pkgs, ... }: { |
| 2 | wayland.windowManager.sway = { |
| 3 | enable = true; |
| 4 | wrapperFeatures.gtk = true; |
Skyler Turner | f2a8839 | 2022-03-06 21:08:15 +0000 | [diff] [blame] | 5 | |
| 6 | config = { |
| 7 | assigns = {}; |
| 8 | bars = []; |
| 9 | colors = {}; |
Skyler Turner | 07eb3d1 | 2022-03-06 21:08:29 +0000 | [diff] [blame^] | 10 | |
| 11 | }; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 12 | }; |
| 13 | |
| 14 | home.packages = with pkgs; [ |
| 15 | swaylock |
| 16 | swayidle |
| 17 | wl-clipboard |
Skyler Turner | 9dfac61 | 2022-03-06 10:48:57 +0000 | [diff] [blame] | 18 | ]; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 19 | |
Skyler Turner | 332f4ed | 2022-03-06 21:00:52 +0000 | [diff] [blame] | 20 | systemd.user.targets.sway-session.Units = { |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 21 | description = "Sway compositor session"; |
| 22 | documentation = [ "man:systemd.special(7)" ]; |
| 23 | bindsTo = [ "graphical-session.target" ]; |
| 24 | wants = [ "graphical-session-pre.target" ]; |
Skyler Turner | 332f4ed | 2022-03-06 21:00:52 +0000 | [diff] [blame] | 25 | after = [ "graphical-session-pre.target" ]; |
Skyler Turner | 94da7b1 | 2022-03-06 19:53:03 +0000 | [diff] [blame] | 26 | }; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 27 | } |