diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-10-03 23:21:15 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-10-03 23:21:15 +0200 |
| commit | fa5dd5f3c014a250b1748c340255d8b4d0b7d773 (patch) | |
| tree | b923aabfdfd4e46fe8c0a42164dc78ceb5435217 /setkbmap | |
| parent | 112a38a0d4f3debab29749352c61968bee98e477 (diff) | |
.
Diffstat (limited to 'setkbmap')
| -rwxr-xr-x | setkbmap/setkbmap | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/setkbmap/setkbmap b/setkbmap/setkbmap new file mode 100755 index 0000000..a1d8056 --- /dev/null +++ b/setkbmap/setkbmap @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ -n '$SWAYSOCK' ]; then + swaymsg input '*' xkb_layout "$@" +else + setxkbmap "$@" +fi |
