From 0a9053c2902adab8b94eaacdb15390441143078c Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Sat, 11 Sep 2021 00:36:13 -0500 Subject: redid repo cus of fucking chromium rip old commit messages --- x11/capsmap | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 x11/capsmap (limited to 'x11/capsmap') diff --git a/x11/capsmap b/x11/capsmap new file mode 100755 index 0000000..ad107da --- /dev/null +++ b/x11/capsmap @@ -0,0 +1,9 @@ +#!/bin/sh + +# Remap caps to super when held +setxkbmap -option caps:super +# Remap caps to escape when pressed +killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape' + +# Turn off caps lock, just in case it was on prior +xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock -- cgit v1.2.3