diff --git a/.xsessionrc b/.xsessionrc index 6d4838e..2531ea7 100755 --- a/.xsessionrc +++ b/.xsessionrc @@ -5,14 +5,13 @@ if [[ "$DESKTOP_SESSION" = "dwm" ]]; then export AWT_TOOLKIT=MToolkit wmname LG3D - compton & - dwmstatus & if test -f "$HOME/.screenlayout/main.sh"; then "$HOME/.screenlayout/main.sh" fi compton & redshift & + dwmstatus & if test -f /usr/share/backgrounds/gnome/Road.jpg ; then feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg & @@ -32,3 +31,8 @@ fi if command -v slack &> /dev/null ; then slack & fi + +# Authentication agent for running application as root +if test /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 ; then + /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & +fi