blob: 24e0ad20f434efade256885586aa5d5f230bbc9a [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 Turnerdb486c92022-03-06 10:48:24 +000012 };
13
14 home.packages = with pkgs; [
15 swaylock
16 swayidle
17 wl-clipboard
Skyler Turner9dfac612022-03-06 10:48:57 +000018 ];
Skyler Turnerdb486c92022-03-06 10:48:24 +000019
Skyler Turner332f4ed2022-03-06 21:00:52 +000020 systemd.user.targets.sway-session.Units = {
Skyler Turnerdb486c92022-03-06 10:48:24 +000021 description = "Sway compositor session";
22 documentation = [ "man:systemd.special(7)" ];
23 bindsTo = [ "graphical-session.target" ];
24 wants = [ "graphical-session-pre.target" ];
Skyler Turner332f4ed2022-03-06 21:00:52 +000025 after = [ "graphical-session-pre.target" ];
Skyler Turner94da7b12022-03-06 19:53:03 +000026 };
Skyler Turnerdb486c92022-03-06 10:48:24 +000027}