caps:escape, dwm before xmonad, no emacs in bg

This commit is contained in:
Łukasz Pankowski 2023-07-29 11:47:47 +02:00
parent ebc3249391
commit 39b6738c66

View File

@ -8,7 +8,7 @@ xset b off
xrandr --auto xrandr --auto
xrandr --output HDMI1 --right-of DP1 xrandr --output HDMI1 --right-of DP1
xrdb -merge ~/.Xresources xrdb -merge ~/.Xresources
setxkbmap pl -option ctrl:nocaps setxkbmap pl -option caps:escape
xmodmap ~/.xmodmaprc xmodmap ~/.xmodmaprc
if [ -x ~/.fehbg ]; then if [ -x ~/.fehbg ]; then
@ -24,24 +24,26 @@ else
( echo "Missing command(s):"; which xss-lock slock 2>&1 ) | xmessage -file - ( echo "Missing command(s):"; which xss-lock slock 2>&1 ) | xmessage -file -
fi fi
# run emacs daemon if not running
emacsclient --eval nil -a '' &
xsettingsd & xsettingsd &
xsetroot -cursor_name left_ptr xsetroot -cursor_name left_ptr
picom -b -I 1 -O 1 -i 1 -e 1 --no-fading-openclose || compton -b --no-fading-openclose picom -b -I 1 -O 1 -i 1 -e 1 --no-fading-openclose || compton -b --no-fading-openclose
if which xmonad > /dev/null && test -f ~/.stumpwm.d/init.lisp; then if which dwm > /dev/null; then
export SBCL_HOME="$(dirname $(dirname $(readlink -f $(which sbcl))))/lib/sbcl/" lupan-clock &
exec stumpwm exec dwm
fi fi
if which xmonad > /dev/null && test -f ~/.config/xmonad/xmonad.hs; then if which xmonad > /dev/null && test -f ~/.config/xmonad/xmonad.hs; then
exec xmonad exec xmonad
fi fi
if which stumpwm > /dev/null && test -f ~/.stumpwm.d/init.lisp; then
export SBCL_HOME="$(dirname $(dirname $(readlink -f $(which sbcl))))/lib/sbcl/"
exec stumpwm
fi
if which qtile > /dev/null && test -f ~/.config/qtile/config.py; then if which qtile > /dev/null && test -f ~/.config/qtile/config.py; then
exec qtile start exec qtile start
fi fi
@ -65,9 +67,4 @@ if which i3 > /dev/null; then
exec i3 exec i3
fi fi
if which dwm > /dev/null; then
lupan-clock &
exec dwm
fi
exec xterm exec xterm