Skip to content

Instantly share code, notes, and snippets.

@whoizit
Last active March 29, 2019 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whoizit/ff0cb8a070702e6f969a5fa7727af65f to your computer and use it in GitHub Desktop.
Save whoizit/ff0cb8a070702e6f969a5fa7727af65f to your computer and use it in GitHub Desktop.
sway #2999 workaround
# sway workaround
# https://github.com/swaywm/sway/issues/2999
# https://github.com/swaywm/sway/issues/3988
# .config/sway/keycodes
# include ~/.config/sway/keycodes
# switch bindsym to bindcode like that
# from: bindsym $mod+Shift+c reload
# to: bindcode $mod+$C reload
set $a 38
set $b 56
set $c 54
set $d 40
set $e 26
set $f 41
set $g 42
set $h 43
set $i 31
set $j 44
set $k 45
set $l 46
set $m 58
set $n 57
set $o 32
set $p 33
set $q 24
set $r 27
set $s 39
set $t 28
set $u 30
set $v 55
set $w 25
set $x 53
set $y 29
set $z 52
set $A Shift+38
set $B Shift+56
set $C Shift+54
set $D Shift+40
set $E Shift+26
set $F Shift+41
set $G Shift+42
set $H Shift+43
set $I Shift+31
set $J Shift+44
set $K Shift+45
set $L Shift+46
set $M Shift+58
set $N Shift+57
set $O Shift+32
set $P Shift+33
set $Q Shift+24
set $R Shift+27
set $S Shift+39
set $T Shift+28
set $U Shift+30
set $V Shift+55
set $W Shift+25
set $X Shift+53
set $Y Shift+29
set $Z Shift+52
set $semicolon 47
set $grave 49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment