summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-09-06 12:10:01 -0400
committerAmin Bandali <bandali@gnu.org>2019-09-06 12:10:01 -0400
commitbb46373a82d50b7adbf710a116535c219f3d6741 (patch)
treec8a81ab17585f755afdd1a7d32480fa6ce53db31
parent24a42bb2b24e274bc5dfe36e0503a3274988f98d (diff)
downloadconfigs-bb46373a82d50b7adbf710a116535c219f3d6741.tar.gz
configs-bb46373a82d50b7adbf710a116535c219f3d6741.tar.xz
configs-bb46373a82d50b7adbf710a116535c219f3d6741.zip
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’)
Diffstat (limited to '')
-rw-r--r--.profile2
-rwxr-xr-x.xsession4
2 files changed, 6 insertions, 0 deletions
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