home/.xinitrc

28 lines
719 B
Bash

#!/bin/bash
. /home/hanez/.env
# Export DEFAULT_SESSION in this file:
. /home/hanez/.penv
# My Xorg screen configuration is loaded here and looks something like this:
# xrandr --output DisplayPort-0 --mode 2560x1440 --pos 0x0 --rotate normal --output DisplayPort-1 --primary --mode 2560x1440 --pos 2560x0 --rotate normal --output DisplayPort-2 --mode 2560x1440 --pos 5120x0 --rotate normal --output HDMI-A-0 --off
/home/hanez/.config/screenlayout.sh
if [[ "$1" == "xterm" ]]; then
shift
fi
case $1 in
awesome)
exec dbus-launch awesome
;;
qtile)
while true; do
exec dbus-launch qtile start
done
;;
*)
exec dbus-launch $DEFAULT_SESSION
;;
esac