added conditionals for diffrent systems
This commit is contained in:
parent
f3f7957b99
commit
afa1f7e2a5
1 changed files with 17 additions and 3 deletions
20
.xinitrc
20
.xinitrc
|
@ -5,14 +5,28 @@ xset -dpms
|
|||
xset s off
|
||||
|
||||
# Composite manager
|
||||
compton -d :0.0 -b
|
||||
compton -d :0.1 -b
|
||||
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
|
||||
DISPLAY=:0.1 i3 &
|
||||
case "$(hostname)" in
|
||||
"ryx")
|
||||
DISPLAY=:0.1 i3 &
|
||||
;;
|
||||
*)
|
||||
esac
|
||||
|
||||
exec i3
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue