Compare commits

..

3 Commits

Author SHA1 Message Date
pgrondek
7fe5f823fe Add support for running apps as root by policykit 2020-07-30 11:47:56 +02:00
pgrondek
899ba43db2 Add .inputrc 2020-07-30 11:43:53 +02:00
b7f30ed60d
Add check for background file 2020-07-30 11:42:50 +02:00
2 changed files with 12 additions and 3 deletions

1
.inputrc Normal file
View File

@ -0,0 +1 @@
set enable-keypad on

View File

@ -5,16 +5,19 @@ if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
export AWT_TOOLKIT=MToolkit export AWT_TOOLKIT=MToolkit
wmname LG3D wmname LG3D
compton &
dwmstatus &
if test -f "$HOME/.screenlayout/main.sh"; then if test -f "$HOME/.screenlayout/main.sh"; then
"$HOME/.screenlayout/main.sh" "$HOME/.screenlayout/main.sh"
fi fi
compton & compton &
redshift & redshift &
dwmstatus &
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg & if test -f /usr/share/backgrounds/gnome/Road.jpg ; then
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg &
else if test -f /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg ; then
feh --bg-scale /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg &
fi
fi fi
if command -v nextcloud &> /dev/null ; then if command -v nextcloud &> /dev/null ; then
@ -28,3 +31,8 @@ fi
if command -v slack &> /dev/null ; then if command -v slack &> /dev/null ; then
slack & slack &
fi 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