blob: ef14eade004988637c6f66d5503f00ce44632837 (
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_layout us, mode "default"
bindsym c input type:keyboard xkb_layout cz_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 --skin-tone neutral
bindsym --to-code $mod+Shift+period exec rofimoji --skin-tone neutral --action copy
|