start polkit auth agent in .xprofile

This commit is contained in:
Lexi / Zoe 2019-10-06 16:43:51 +02:00
parent 40c6b4fe81
commit 460f2b84b3
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ xmodmap -e "keysym Menu = Super_R"
# Register screen locker # Register screen locker
xss-lock -- i3lock -n -eft -i ~/.wallpapers/lockscreen & xss-lock -- i3lock -n -eft -i ~/.wallpapers/lockscreen &
# Start polkit authentication agent
POLKIT_AUTH_AGENT=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
[ -f $POLKIT_AUTH_AGENT ] && $POLKIT_AUTH_AGENT &
# Include host-specific .xprofile # Include host-specific .xprofile
[ -f ~/.xprofile.local ] && source ~/.xprofile.local [ -f ~/.xprofile.local ] && source ~/.xprofile.local