From cb7bfb36e860e37a39105b30aff782ddab61ce11 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 30 Aug 2023 16:08:24 -0400 Subject: [PATCH] Add lxpolkit for policy kit authentication. --- README.md | 1 + i38.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 443e26f..2a8bc93 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ An uppercase I looks like a 1, 3 from i3, and 8 because the song [We Are 138](ht - clipster: clipboard manager - jq: for getting the current workspace - libnotify: For sending notifications +- lxsession: For policykit authentication agent. - notification-daemon: To handle notifications - ocrdesktop: For getting contents of the current window with OCR. - pamixer: for the mute-unmute script diff --git a/i38.sh b/i38.sh index c354c8c..b93c90b 100755 --- a/i38.sh +++ b/i38.sh @@ -493,6 +493,9 @@ fi if [[ $udiskie -eq 0 ]]; then echo 'exec --no-startup-id udiskie' fi +if command -v lxpolkit &> /dev/null ; then + echo "exec_always --no-startup-id $(command -v lxpolkit)" +fi if [[ -x "/usr/lib/notification-daemon-1.0/notification-daemon" ]]; then echo 'exec_always --no-startup-id /usr/lib/notification-daemon-1.0/notification-daemon -r' fi