From 16563f67769c863f61859a825eefcf8fc150d31f Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 8 Nov 2024 06:43:06 -0500 Subject: update x11 stuff --- x11/.xinitrc | 8 ++++++-- x11/.xsession | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'x11') 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 -- cgit v1.2.3