Add run apps with sudo on Sway

This commit is contained in:
q3aql 2025-05-11 10:25:09 +02:00
parent bb09789e87
commit d59731c14a

View File

@ -35,6 +35,9 @@ exec --no-startup-id pnmixer -t &
exec --no-startup-id ~/.config/sway/startwlrrandr.sh & exec --no-startup-id ~/.config/sway/startwlrrandr.sh &
exec --no-startup-id systemctl --user start xdg-desktop-portal-wlr.service 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 # Configure wallpaper
exec --no-startup-id "swaybg -i ~/wallpapers/gruvbox-arch.png -m fill" exec --no-startup-id "swaybg -i ~/wallpapers/gruvbox-arch.png -m fill"