From 7e38fee90d96df4e4724c0b691a76d766a3d98d9 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 14 Nov 2022 16:55:22 -0700 Subject: [PATCH] enable coredumps, set background and xidle for xmonad --- .xsession | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.xsession b/.xsession index bc513d4..eee7f34 100755 --- a/.xsession +++ b/.xsession @@ -19,7 +19,7 @@ mv ~/Downloads ~/.tdownloads && \ rm -rf ~/.tdownloads & # Disable coredumps -ulimit -Sc 0 +#ulimit -Sc 0 cat /dev/null > ~/.xsession-errors @@ -53,7 +53,6 @@ case "$wmanager" in xsetroot -solid black ;; /usr/X11R6/bin/cwm|/usr/local/bin/spectrwm) - xsetroot -solid black while true; do ~/bin/bar; sleep 3; done | lemonbar-xft -d \ -f "$Go Mono:pixelsize=12" \ -B "#FFFFEA" \ @@ -77,8 +76,9 @@ case "$wmanager" in /usr/local/bin/awesome) xsetroot -solid black ;; - xmonad-x86_64-openbsd) - hsetroot -center ~/.background.png & + xmonad) + hsetroot -center ~/.background.jpg & + xidle -delay 5 -program "/usr/X11R6/bin/xlock" -timeout $TIMEOUT & ;; /usr/X11R6/bin/fvwm) echo "fvwm init from InitFunction"