blob: 5b075ac1d8c3214c14f7bdf45b1e6dad8d1d0fa9 (
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 --selector wofi --skin-tone neutral
bindsym --to-code $mod+Shift+period exec rofimoji --selector wofi --skin-tone neutral --action copy
|