mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 06:53:54 -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;
|
swayosd.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.user.services.swayosd.Install.WantedBy = [ "hyprland-session.target" "sway-session.target" ];
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configPackages =
|
configPackages =
|
||||||
|
|
|
@ -58,5 +58,7 @@ in {
|
||||||
command = "${swaymsg} \"output * dpms off\"' resume '${swaymsg} \"output * dpms on\"";
|
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