blob: 7c2aa2dc8c4fe4e0f6c1441c0e1ed9de0a36cf57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# vim: ft=swayconfig
set $mode_layout Set keyboard layout (u)s or (c)z
mode "$mode_layout" {
bindsym u input type:keyboard xkb_variant basic, input type:keyboard xkb_layout us, mode "default"
bindsym c input type:keyboard xkb_layout cz, input type:keyboard xkb_variant qwerty, mode "default"
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym --to-code $mod+slash mode "$mode_layout"
# Type emoji
bindsym --to-code $mod+period exec rofimoji --selector wofi --skin-tone neutral
bindsym --to-code $mod+Shift+period exec rofimoji --selector wofi --skin-tone neutral --action copy
|