1
1
Fork 0

hyprland: restart services at reload

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-15 19:50:21 -05:00
parent a6379abd7d
commit f54e78b4ff
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -60,19 +60,17 @@ in {
]; ];
# https://wiki.hyprland.org/Configuring/Keywords/#executing # https://wiki.hyprland.org/Configuring/Keywords/#executing
#// exec = [ ]; exec = [
left # Left-handed at boot
"${systemctl} --user restart walker"
"${sleep} 2 && ${systemctl} --user restart waybar"
];
# https://wiki.hyprland.org/Configuring/Keywords/#executing # https://wiki.hyprland.org/Configuring/Keywords/#executing
exec-once = exec-once =
[ [
"${rm} ~/.cache/walker/clipboard.gob" # Clear clipboard
sway-audio-idle-inhibit # Inhibit idle while audio is playing sway-audio-idle-inhibit # Inhibit idle while audio is playing
left # Left-handed at boot "${rm} ~/.cache/walker/clipboard.gob" # Clear clipboard
# TODO: Remove when systemd service fixed
# https://github.com/Alexays/Waybar/issues/2882
"${sleep} 2 && ${systemctl} --user restart waybar"
"[group new lock; tile] ${firefox-esr}" "[group new lock; tile] ${firefox-esr}"
] ]
++ optionals config.custom.wallpaper ["wallpaper"]; ++ optionals config.custom.wallpaper ["wallpaper"];