legacy-dotfiles/x11/.xinitrc

46 lines
998 B
Text
Raw Normal View History

2012-10-16 10:17:25 +02:00
#!/bin/bash
2013-03-04 11:12:45 +01:00
2014-08-21 11:04:25 +02:00
_hostname="$(hostname)"
if [[ $_hostname == "drd" ]]; then
xrandr --setprovideroutputsource 1 0
# xrandr --auto
xrandr \
--output DVI-I-1 --auto --pos 0x0 \
--output DVI-I-2 --auto --pos 1920x0 \
--output DVI-I-1-3 --auto --pos -1280x0
fi
2014-08-20 13:57:15 +02:00
2012-10-07 15:16:58 +02:00
xmodmap ~/.Xmodmap
2012-10-16 10:17:25 +02:00
# 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
2013-03-03 00:16:14 +01:00
redshift -l 51.1180:4.0012 &
unclutter &
2013-03-04 11:12:45 +01:00
2014-08-21 11:04:25 +02:00
case $_hostname in
2014-08-20 13:56:57 +02:00
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
;;
2014-08-21 11:04:25 +02:00
phoenix)
exec awesome
;;
2014-08-20 13:56:57 +02:00
esac