diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-09 20:23:28 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-09 20:24:58 +0100 |
commit | ab1490b5ed7406995aa0b32d54884ed4a24f49bc (patch) | |
tree | 9bb55b4fd3c88045e72080aa80d2604d6d08d88f | |
parent | e5896004c6b4dd757888efcd9682a840d144092b (diff) | |
download | dotfiles-ab1490b5ed7406995aa0b32d54884ed4a24f49bc.tar.gz dotfiles-ab1490b5ed7406995aa0b32d54884ed4a24f49bc.tar.bz2 dotfiles-ab1490b5ed7406995aa0b32d54884ed4a24f49bc.zip |
~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.
-rw-r--r-- | SXHkD/.config/sxhkd/sxhkdrc | 24 | ||||
-rw-r--r-- | XServer/.Xmodmap | 5 | ||||
-rw-r--r-- | XServer/.xprofile | 2 |
3 files changed, 13 insertions, 18 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc index f6493dc..e50e2e4 100644 --- a/SXHkD/.config/sxhkd/sxhkdrc +++ b/SXHkD/.config/sxhkd/sxhkdrc @@ -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%; diff --git a/XServer/.Xmodmap b/XServer/.Xmodmap index 534d9f3..5a31e3c 100644 --- a/XServer/.Xmodmap +++ b/XServer/.Xmodmap @@ -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 diff --git a/XServer/.xprofile b/XServer/.xprofile index 12e4e80..d4e3575 100644 --- a/XServer/.xprofile +++ b/XServer/.xprofile @@ -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; |