legacy-dotfiles/x11/.xinitrc

38 lines
865 B
Bash
Executable file

#!/bin/bash
_hostname="$(hostname)"
xmodmap ~/.Xmodmap
# Source scripts in /etc/X11/xinit/xinitrc.d/
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
redshift -l 51.1180:4.0012 &
unclutter &
case $_hostname in
drd)
# feh --bg-tile ~/pictures/wallpaper-2311191.png
# exec sbcl --noprint --non-interactive \
# --eval "(ql:quickload \"stumpwm\")" \
# --eval "(stumpwm:stumpwm)"
exec awesome
# xchainkeys &
# mowedline &
# exec herbstluftwm
# sxhkd &
# tint2 &
# exec bspwm
# exec i3
;;
phoenix)
eval $(/usr/bin/gnome-keyring-daemon --start --components=secrets)
export GPG_AGENT_INFO SSH_AUTH_SOCK
exec awesome
;;
esac