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 | fe471d3 | 2022-03-07 13:16:17 +0000 | [diff] [blame] | 10 | defaultWorkspace = null; |
11 | down = "j"; | ||||
12 | floating = {}; | ||||
13 | focus = {}; | ||||
14 | fonts = {}; | ||||
15 | gaps = { | ||||
Skyler Turner | ff4b0bd | 2022-03-07 13:17:23 +0000 | [diff] [blame^] | 16 | inner = 3; |
17 | outer = 6; | ||||
Skyler Turner | fe471d3 | 2022-03-07 13:16:17 +0000 | [diff] [blame] | 18 | }; |
Skyler Turner | 07eb3d1 | 2022-03-06 21:08:29 +0000 | [diff] [blame] | 19 | }; |
Skyler Turner | eda726a | 2022-03-07 00:23:17 +0000 | [diff] [blame] | 20 | |
21 | systemdIntegration = true; | ||||
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 22 | }; |
23 | |||||
24 | home.packages = with pkgs; [ | ||||
25 | swaylock | ||||
26 | swayidle | ||||
27 | wl-clipboard | ||||
Skyler Turner | 9dfac61 | 2022-03-06 10:48:57 +0000 | [diff] [blame] | 28 | ]; |
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 29 | |
Skyler Turner | d3b7068 | 2022-03-06 23:19:45 +0000 | [diff] [blame] | 30 | programs.zsh.profileExtra = '' |
31 | if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then | ||||
32 | exec systemd-cat -t sway sway | ||||
33 | fi | ||||
34 | ''; | ||||
Skyler Turner | db486c9 | 2022-03-06 10:48:24 +0000 | [diff] [blame] | 35 | } |