1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-03 15:27:45 +02:00

x window system: improved keymap swapping command

This commit is contained in:
tiyn 2023-09-07 23:50:30 +02:00
parent f726ba0b1a
commit 80f8bf5ad3

View File

@ -34,7 +34,7 @@ If there are two main layouts are used then the following command can be used to
them.
Change `<layout 1>` and `<layout 2>` according to preferences.
`setxkbmap -query | grep -q '<layout 1>' && setxkbmap <layout 2> || setxkbmap <layout 1>,<layout 2>`
`setxkbmap -query | grep -q '<layout 1>' && setxkbmap <layout 2> || setxkbmap <layout 1>
Using [SXHKD](/wiki/linux/sxhkd.md) a hotkey can be setup to seamlessly transition between the two
layouts.