sway: restart daemons more often

This commit is contained in:
Leonardo Eugênio 2024-03-15 23:09:46 -03:00 committed by lelgenio
parent b16750277b
commit 05d5414d81
2 changed files with 3 additions and 0 deletions

View file

@ -88,6 +88,7 @@ in
for_window [title=.*] inhibit_idle fullscreen
exec ${pkgs.dbus-sway-environment}/bin/dbus-sway-environment
exec swaymsg workspace 2
exec_always systemctl --user restart waybar.service
'';
};
services.gammastep = {

View file

@ -31,6 +31,8 @@ in
event = "after-resume";
command = asScript "after-resume" ''
${pkgs.sway}/bin/swaymsg "output * dpms on"
${pkgs.systemd}/bin/systemctl --user restart \
kdeconnect.service kdeconnect-indicator.service
'';
}
];