diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 32782884..a155f4b4 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -29,12 +29,6 @@ bspc config gapless_monocle true # while moving the mouse, similar to i3 bspc config focus_follows_pointer true -# Make caps lock work as ctrl -xmodmap ~/.xmodmap - -# Make caps lock (left ctrl) work as escape -xcape -e 'Control_L=Escape' - # Change the default X shaped cursor to a pointer xsetroot -cursor_name left_ptr diff --git a/xmodmap/.xmodmap b/xmodmap/.xmodmap deleted file mode 100644 index d3e1b774..00000000 --- a/xmodmap/.xmodmap +++ /dev/null @@ -1,16 +0,0 @@ -! New Start: A modern Arch workflow built with an emphasis on functionality. -! Copyright (C) 2017-2018 Donovan Glover - -! Clear both the caps lock and control keys -clear lock -clear control - -! Set the caps lock key to Control_L -keycode 66 = Control_L - -! Reassign the control command to the caps lock and control keys respectively -add control = Caps_Lock Control_L Control_R - -! Change the print screen key to a right super, so we don't have to worry -! about certain key combinations being impossible to use with one hand. -keycode 107 = Super_R diff --git a/xmodmap/README.md b/xmodmap/README.md deleted file mode 100644 index 6af7b627..00000000 --- a/xmodmap/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# xmodmap - -[xmodmap][xmodmap] is used to change the functionality of keys on your keyboard. - -## Use Cases - -xmodmap can be used to: - -- Make Caps Lock function as Ctrl when held down -- Used with [xcape][xcape] to make Caps Lock function as Escape when pressed - -You should not use xmodmap if: - -- You do not need to modify keys - -## Usage - -Run `xmodmap ~/.xmodmap` in one of your init scripts to make Caps Lock function as Ctrl when held down. - -Then, use `xcape -e 'Control_L=Escape'` to make Caps Lock (left Ctrl) function as Escape when pressed. - -[xmodmap]: https://wiki.archlinux.org/index.php/Xmodmap -[xcape]: https://github.com/alols/xcape