From d59731c14a92adc5862f54b91f1403d53a1dec6f Mon Sep 17 00:00:00 2001 From: q3aql Date: Sun, 11 May 2025 10:25:09 +0200 Subject: [PATCH] Add run apps with sudo on Sway --- .config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index bd5c666..e235f02 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -35,6 +35,9 @@ exec --no-startup-id pnmixer -t & exec --no-startup-id ~/.config/sway/startwlrrandr.sh & exec --no-startup-id systemctl --user start xdg-desktop-portal-wlr.service +# Run apps with sudo +exec --no-startup-id xhost +SI:localuser:root + # Configure wallpaper exec --no-startup-id "swaybg -i ~/wallpapers/gruvbox-arch.png -m fill"