enable coredumps, set background and xidle for xmonad

This commit is contained in:
Aaron Bieber 2022-11-14 16:55:22 -07:00
parent 6f5de3dfbd
commit 7e38fee90d

View File

@ -19,7 +19,7 @@ mv ~/Downloads ~/.tdownloads && \
rm -rf ~/.tdownloads & rm -rf ~/.tdownloads &
# Disable coredumps # Disable coredumps
ulimit -Sc 0 #ulimit -Sc 0
cat /dev/null > ~/.xsession-errors cat /dev/null > ~/.xsession-errors
@ -53,7 +53,6 @@ case "$wmanager" in
xsetroot -solid black xsetroot -solid black
;; ;;
/usr/X11R6/bin/cwm|/usr/local/bin/spectrwm) /usr/X11R6/bin/cwm|/usr/local/bin/spectrwm)
xsetroot -solid black
while true; do ~/bin/bar; sleep 3; done | lemonbar-xft -d \ while true; do ~/bin/bar; sleep 3; done | lemonbar-xft -d \
-f "$Go Mono:pixelsize=12" \ -f "$Go Mono:pixelsize=12" \
-B "#FFFFEA" \ -B "#FFFFEA" \
@ -77,8 +76,9 @@ case "$wmanager" in
/usr/local/bin/awesome) /usr/local/bin/awesome)
xsetroot -solid black xsetroot -solid black
;; ;;
xmonad-x86_64-openbsd) xmonad)
hsetroot -center ~/.background.png & hsetroot -center ~/.background.jpg &
xidle -delay 5 -program "/usr/X11R6/bin/xlock" -timeout $TIMEOUT &
;; ;;
/usr/X11R6/bin/fvwm) /usr/X11R6/bin/fvwm)
echo "fvwm init from InitFunction" echo "fvwm init from InitFunction"