diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/.xinitrc | 8 | ||||
-rw-r--r-- | x11/.xsession | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/x11/.xinitrc b/x11/.xinitrc index 5a1c4fc..5911ed8 100644 --- a/x11/.xinitrc +++ b/x11/.xinitrc @@ -7,7 +7,8 @@ xidle_timeout=900 case $(hostname -s) in rlaptop1) - font_size=16 + font_size=20 + dpi=120 ;; esac @@ -21,4 +22,7 @@ setxkbmap -option ctrl:nocaps xidle -program "$(which i3lock) -e -c ${bg_color}" -timeout "$xidle_timeout" & sudo -n networkmgr & -exec i3 +i3 + +# Chrome seems to hang around after exit and use 100% CPU +killall chrome diff --git a/x11/.xsession b/x11/.xsession index 25bc758..408e6f9 100644 --- a/x11/.xsession +++ b/x11/.xsession @@ -1,4 +1,7 @@ #!/bin/sh . "${HOME}/.profile" -. "${HOME}/.xinitrc" + +if [ -z "$XDG_CURRENT_DESKTOP" ]; then + . "${HOME}/.xinitrc" +fi |