~hyper -> super, caps -> escape

Remove the hyper key bindings, setting them purely to super.
After running pure Emacs with no leader bindings, I've found the use
of Ctrl+g/Escape really painful (as well as the use of Ctrl for
everything). I want to free the caps key (which was hyper) for use as escape.
This commit is contained in:
2020-08-09 20:23:28 +01:00
parent e5896004c6
commit ab1490b5ed
3 changed files with 13 additions and 18 deletions

View File

@@ -18,39 +18,39 @@ super + shift + Return
notify-send "Launching Dev Terminal"; \
$TERMINAL -c 'Dev'
{super,hyper} + a
super + a
dmenu_run
hyper + e
super + e
$HOME/.emacs_anywhere/bin/run
hyper + s
super + s
notify-send "Launching qutebrowser"; \
qutebrowser
hyper + q; q
super + w; w
notify-send "Launching Emacs"; \
emacsclient -c -s MAIN -a=emacs;
hyper + q; s
hyper + w; s
notify-send "(Re)starting emacs server"; \
eserver restart;
hyper + q; d
hyper + w; d
notify-send "Launching Dired"; \
emacsclient -c -s MAIN -a=emacs --eval '(dired "~")';
hyper + l
super + ctrl + l
$HOME/.local/scripts/lock
hyper + d
super + ctrl + d
notify-send "Changing background"; \
$HOME/.local/scripts/background;
hyper + m
super + m
$HOME/.local/scripts/playlist_choice
hyper + p
super + p
passmenu
super + F12
@@ -65,11 +65,11 @@ XF86Audio{Prev,Next}
mpc -q {prev,next}; \
notify-send "MPD: Track $(mpc --format '%title%' | head -1)";
{_,hyper + }F{9,10}
{_,super + }F{9,10}
kill -44 $(pidof dwmblocks); \
{pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%;
{_,hyper + }XF86Audio{Lower,Raise}Volume
{_,super + }XF86Audio{Lower,Raise}Volume
kill -44 $(pidof dwmblocks); \
{pactl set-sink-volume 0,$HOME/.local/scripts/mpc_volume} {-,+}5%;

View File

@@ -1,13 +1,8 @@
keycode 66 = Hyper_L
clear lock
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
add Mod1 = Alt_L Alt_R Meta_L
add Mod2 = Num_Lock
add Mod3 = Hyper_L
add Mod4 = Super_L Hyper_R
add Mod5 = ISO_Level3_Shift Mode_switch

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env sh
setxkbmap gb -option shift:both_capslock -option caps:none;
setxkbmap gb -option shift:both_capslock -option caps:escape;
xmodmap ~/.Xmodmap;
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources;