Add lxpolkit for policy kit authentication.

This commit is contained in:
Storm Dragon 2023-08-30 16:08:24 -04:00
parent 9c16367299
commit cb7bfb36e8
2 changed files with 4 additions and 0 deletions

View File

@ -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

3
i38.sh
View File

@ -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