From 12254a34db59d6221b3f7a638e492e2c16e46500 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sun, 12 May 2024 23:21:05 +0100 Subject: [PATCH] Add polkit agent --- dotfiles/.config/sway/config | 5 +++-- install.sh | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index 0932d8e2..e65f4a99 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -235,9 +235,10 @@ focus_follows_mouse no #-----------# # Autostart # #-----------# -exec_always --no-startup-id nextcloud --background & -exec_always --no-startup-id browserpass & +exec --no-startup-id nextcloud --background & exec --no-startup-id /usr/libexec/xdg-desktop-portal -r +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +exec --no-startup-id mpd xwayland enable for_window [shell="xwayland"] title_format "[XWayland] %title" diff --git a/install.sh b/install.sh index 6167ce0d..4cd5d29a 100755 --- a/install.sh +++ b/install.sh @@ -15,8 +15,7 @@ fi paru -Sy curl git stow bat fzf less nextcloud-client # Install DE -paru -Sy mpd ncmpcpp dunst xdg-desktop-portal-wlr xdg-desktop-portal sway swaybg swaylock waybar wofi foot grim slurp wl-clipboard xorg-xwayland -sudo systemctl enable mpd +paru -Sy mpd ncmpcpp dunst xdg-desktop-portal-wlr xdg-desktop-portal sway swaybg swaylock waybar wofi foot grim slurp wl-clipboard xorg-xwayland polkit-gnome # Install GUI Apps paru -Sy gnome-podcasts