From 79034b7ffcfffb340346d63eda5523104520ccbf Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Wed, 6 Nov 2024 21:49:47 -0600 Subject: [PATCH] Fix swww-daemon forking in multiuser setups --- hyprland-work/.config/hypr/config.d/82-autostart-swww.conf | 2 +- hyprland/.config/hypr/config.d/82-autostart-swww.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }