Add support for running apps as root by policykit
This commit is contained in:
parent
899ba43db2
commit
7fe5f823fe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user