diff --git a/hyprland-work/.config/hypr/config.d/82-autostart-swww.conf b/hyprland-work/.config/hypr/config.d/82-autostart-swww.conf index 33c84580..9eef5cb4 100644 --- a/hyprland-work/.config/hypr/config.d/82-autostart-swww.conf +++ b/hyprland-work/.config/hypr/config.d/82-autostart-swww.conf @@ -1,2 +1,2 @@ # vim: set ft=config: -exec-once = pgrep swww-daemon || { rm /run/user/$UID/swww.socket; swww-daemon --format xrgb; } +exec-once = pgrep -U $USER swww-daemon || { rm /run/user/$UID/swww.socket; swww-daemon --format xrgb; } diff --git a/hyprland/.config/hypr/config.d/82-autostart-swww.conf b/hyprland/.config/hypr/config.d/82-autostart-swww.conf index 33c84580..9eef5cb4 100644 --- a/hyprland/.config/hypr/config.d/82-autostart-swww.conf +++ b/hyprland/.config/hypr/config.d/82-autostart-swww.conf @@ -1,2 +1,2 @@ # vim: set ft=config: -exec-once = pgrep swww-daemon || { rm /run/user/$UID/swww.socket; swww-daemon --format xrgb; } +exec-once = pgrep -U $USER swww-daemon || { rm /run/user/$UID/swww.socket; swww-daemon --format xrgb; }