mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 03:43:55 -05:00
home: set swayosd and swayidle as wanted by hyprland and sway
This commit is contained in:
parent
2c6cf6e300
commit
deb5a43eee
|
@ -39,6 +39,8 @@
|
|||
swayosd.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
systemd.user.services.swayosd.Install.WantedBy = [ "hyprland-session.target" "sway-session.target" ];
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages =
|
||||
|
|
|
@ -58,5 +58,7 @@ in {
|
|||
command = "${swaymsg} \"output * dpms off\"' resume '${swaymsg} \"output * dpms on\"";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.user.services.swayidle.Service.Restart = lib.mkForce "on-failure";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue