From f47feb559b70342435dd1023aba06dbbfc8ae18f Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sat, 25 Apr 2020 08:18:36 -0500 Subject: [PATCH] Remap caps to escape in xmodmap --- configs/xmodmap_caps_esc | 2 ++ scripts/core/sxmo_xinit.sh | 1 + 2 files changed, 3 insertions(+) create mode 100644 configs/xmodmap_caps_esc diff --git a/configs/xmodmap_caps_esc b/configs/xmodmap_caps_esc new file mode 100644 index 0000000..aee6983 --- /dev/null +++ b/configs/xmodmap_caps_esc @@ -0,0 +1,2 @@ +clear Lock +keycode 66 = Escape diff --git a/scripts/core/sxmo_xinit.sh b/scripts/core/sxmo_xinit.sh index a9bef10..3b5bf80 100755 --- a/scripts/core/sxmo_xinit.sh +++ b/scripts/core/sxmo_xinit.sh @@ -3,6 +3,7 @@ source /etc/profile which $TERM || export TERM=st which $BROWSER || export BROWSER=surf +xmodmap /usr/share/sxmo/xmodmap_caps_esc xsetroot -mod 3 2 -fg '#000000' -bg '#888888' conky -c /usr/share/sxmo/conky.conf -d