legacy-dotfiles/x11/.xinitrc

45 lines
998 B
Bash
Executable file

#!/bin/bash
_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
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)
exec awesome
;;
esac