summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-11-08 06:43:06 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-11-08 06:43:06 -0500
commit16563f67769c863f61859a825eefcf8fc150d31f (patch)
treeff3859d7c351b324a1b40edd7f8530e806271323 /x11
parente039039e31a221e8c5739562e3d1e5cfdef4af74 (diff)
downloaddotfiles-16563f67769c863f61859a825eefcf8fc150d31f.tar.gz
update x11 stuff
Diffstat (limited to 'x11')
-rw-r--r--x11/.xinitrc8
-rw-r--r--x11/.xsession5
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