dotfiles/.xinitrc

32 lines
343 B
Bash

#!/bin/bash
# Disable screen turnoff
xset -dpms
xset s off
# Composite manager
case "$(hostname)" in
"ryx")
compton -d :0.0 -b
compton -d :0.1 -b
;;
"len")
compton -d :1 -b
;;
*)
esac
# Background
xrdb ~/.Xresources
nitrogen --restore
# Window manager
case "$(hostname)" in
"ryx")
DISPLAY=:0.1 i3 &
;;
*)
esac
exec i3