Slight formatting changes

This commit is contained in:
David Thurstenson 2016-04-11 12:25:45 -05:00
parent 56bd198f2f
commit 7e55ab0424
1 changed files with 8 additions and 19 deletions

View File

@ -7,18 +7,11 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
[ -f $sysresources ] && xrdb -merge $sysresources
[ -f $sysmodmap ] && xmodmap $sysmodmap
[ -f "$userresources" ] && xrdb -merge "$userresources"
[ -f "$usermodmap" ] && xmodmap "$usermodmap"
# start some nice programs
@ -39,10 +32,7 @@ export SSH_AUTH_SOCK
xautolock -time 30 -locker i3lock -b -d -c 000000 -e -f
# Thurstybook-specific config:
if [[ "$HOSTNAME" == "thurstybook" ]]; then
# start srandrd
srandrd ~/.config/srandrd.conf
fi
[[ "$HOSTNAME" == "thurstybook" ]] && srandrd ~/.config/srandrd.conf
if [[ "$HOSTNAME" == "dtarch" ]]; then
@ -57,9 +47,8 @@ if [[ "$HOSTNAME" == "dtarch" ]]; then
fi
# If numlockx is installed, activate it
if [[ -s /usr/bin/numlockx ]]; then
numlockx on
fi
[[ -s /usr/bin/numlockx ]] && numlockx on
session=${1:-i3}