From: Amin Bandali Date: Fri, 6 Sep 2019 16:10:01 +0000 (-0400) Subject: shell: tweak X settings, add ~/.xsession for starting emacs (exwm) X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/bb46373a82d50b7adbf710a116535c219f3d6741?hp=24a42bb2b24e274bc5dfe36e0503a3274988f98d shell: tweak X settings, add ~/.xsession for starting emacs (exwm) - set cursor from the default ugly “x” to a left pointer - disable bell - remove annoying one pixel border around emacs (using ‘-ib 0’) --- diff --git a/.profile b/.profile index af4bb6b..0f17b9b 100644 --- a/.profile +++ b/.profile @@ -71,7 +71,9 @@ setxkbmap \ xmodmap -e "keysym Menu = Super_R" +xsetroot -cursor_name left_ptr xset r rate 200 45 +xset b off xrdb -merge "$HOME/.Xresources" diff --git a/.xsession b/.xsession new file mode 100755 index 0000000..15791ec --- /dev/null +++ b/.xsession @@ -0,0 +1,4 @@ +[ -x "$(command -v light-locker)" ] && light-locker --lock-on-suspend & +[ -x "$(command -v pasystray)" ] && pasystray & +[ -x "$(command -v nm-applet)" ] && nm-applet & +[ -x "$(command -v emacs)" ] && exec emacs -ib 0