From bb46373a82d50b7adbf710a116535c219f3d6741 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 6 Sep 2019 12:10:01 -0400 Subject: shell: tweak X settings, add ~/.xsession for starting emacs (exwm) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - set cursor from the default ugly “x” to a left pointer - disable bell - remove annoying one pixel border around emacs (using ‘-ib 0’) --- .profile | 2 ++ .xsession | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 .xsession 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 -- cgit v1.2.3-60-g2f50