large update

This commit is contained in:
natemaia
2018-06-09 16:51:08 -07:00
parent fbabd724c5
commit 16a0f6a67d
15 changed files with 86 additions and 66 deletions

View File

@ -25,13 +25,24 @@ fi
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
[ -f ~/.xprofile ] && source ~/.xprofile
# keyring for storing passwords
if hash gnome-keyring &>/dev/null; then
gnome-keyring-daemon --start --components=pkcs11 &
fi
# gnome polkit
if [[ -x /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 ]]; then
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
# some things to start for awesome wm, other wm already have these started elsewhere
if [[ $session == "awesome" ]]; then
# keyring for storing passwords
if hash gnome-keyring &>/dev/null; then
gnome-keyring-daemon --start --components=pkcs11 &
fi
# gnome polkit
if [[ -x /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 ]]; then
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
fi
# simulate Alt+F1 with just pressing Super
if hash ksuperkey &>/dev/null; then
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
fi
fi
# display timeout and sleep
@ -42,12 +53,6 @@ xset dpms 3600 3700 4000
xset r rate 400 50
kbdrate -d 400 -r 50
# simulate Alt+F1 with just pressing Super
if hash ksuperkey &>/dev/null; then
ksuperkey -e 'Super_L=Alt_L|F1' &
ksuperkey -e 'Super_R=Alt_L|F1' &
fi
# 1/1 mouse acceleration
xset m 1/1