sway: restart daemons more often
This commit is contained in:
parent
b16750277b
commit
05d5414d81
|
@ -88,6 +88,7 @@ in
|
||||||
for_window [title=.*] inhibit_idle fullscreen
|
for_window [title=.*] inhibit_idle fullscreen
|
||||||
exec ${pkgs.dbus-sway-environment}/bin/dbus-sway-environment
|
exec ${pkgs.dbus-sway-environment}/bin/dbus-sway-environment
|
||||||
exec swaymsg workspace 2
|
exec swaymsg workspace 2
|
||||||
|
exec_always systemctl --user restart waybar.service
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
services.gammastep = {
|
services.gammastep = {
|
||||||
|
|
|
@ -31,6 +31,8 @@ in
|
||||||
event = "after-resume";
|
event = "after-resume";
|
||||||
command = asScript "after-resume" ''
|
command = asScript "after-resume" ''
|
||||||
${pkgs.sway}/bin/swaymsg "output * dpms on"
|
${pkgs.sway}/bin/swaymsg "output * dpms on"
|
||||||
|
${pkgs.systemd}/bin/systemctl --user restart \
|
||||||
|
kdeconnect.service kdeconnect-indicator.service
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue