summaryrefslogtreecommitdiff
path: root/.local/bin/keys
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-12-05 13:38:14 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-12-05 13:38:14 -0500
commit29b1c791f6e319cdab828cee5f491ca1c38e41d1 (patch)
treebe9d9d43d150f0b72f72e4e37cc43bde0e10b72e /.local/bin/keys
parent5849e2ad7323f086bd6edf221b29e3f0b2b7cbd3 (diff)
Some New Configuration Tools
Diffstat (limited to '.local/bin/keys')
-rwxr-xr-x.local/bin/keys10
1 files changed, 0 insertions, 10 deletions
diff --git a/.local/bin/keys b/.local/bin/keys
deleted file mode 100755
index c525982..0000000
--- a/.local/bin/keys
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-# This script is called on startup to remap keys.
-# Decrease key repeat delay to 300ms and increase key repeat rate to 50 per second.
-xset r rate 300 50
-# Map the caps lock key to super, and map the menu key to right super.
-setxkbmap -option caps:super,altwin:menu_win
-# When caps lock is pressed only once, treat it as escape.
-killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
-# Turn off caps lock if on since there is no longer a key for it.
-xset -q | grep -q "Caps Lock:\s*on" && xdotool key Caps_Lock