blob: 5d93b4980080e1be7841c1305593e0aae20624df [file] [log] [blame]
Skyler Turnerdb486c92022-03-06 10:48:24 +00001{ pkgs, ... }: {
2 wayland.windowManager.sway = {
3 enable = true;
4 wrapperFeatures.gtk = true;
Skyler Turnerf2a88392022-03-06 21:08:15 +00005
6 config = {
7 assigns = {};
8 bars = [];
9 colors = {};
Skyler Turner07eb3d12022-03-06 21:08:29 +000010
11 };
Skyler Turnereda726a2022-03-07 00:23:17 +000012
13 systemdIntegration = true;
Skyler Turnerdb486c92022-03-06 10:48:24 +000014 };
15
16 home.packages = with pkgs; [
17 swaylock
18 swayidle
19 wl-clipboard
Skyler Turner9dfac612022-03-06 10:48:57 +000020 ];
Skyler Turnerdb486c92022-03-06 10:48:24 +000021
Skyler Turnerd3b70682022-03-06 23:19:45 +000022 programs.zsh.profileExtra = ''
23 if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
24 exec systemd-cat -t sway sway
25 fi
26 '';
Skyler Turnerdb486c92022-03-06 10:48:24 +000027}