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 | eda726a | 2022-03-07 00:23:17 +0000 | [diff] [blame] | 12 | |
13 | systemdIntegration = true; | ||||
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 14 | }; |
15 | |||||
16 | home.packages = with pkgs; [ | ||||
17 | swaylock | ||||
18 | swayidle | ||||
19 | wl-clipboard | ||||
Skyler Turner | 9dfac61 | 2022-03-06 10:48:57 +0000 | [diff] [blame] | 20 | ]; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 21 | |
Skyler Turner | d3b7068 | 2022-03-06 23:19:45 +0000 | [diff] [blame] | 22 | programs.zsh.profileExtra = '' |
23 | if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then | ||||
24 | exec systemd-cat -t sway sway | ||||
25 | fi | ||||
26 | ''; | ||||
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 27 | } |