diff options
| author | NPScript <nathan@reinerweb.ch> | 2022-04-09 21:22:20 +0200 |
|---|---|---|
| committer | NPScript <nathan@reinerweb.ch> | 2022-04-09 21:22:20 +0200 |
| commit | 896c311feb10e947c727a888308dbc7eb71d1ec2 (patch) | |
| tree | b6713478d14eb8ea531107c3f399c437db7fd2fb /.local/bin/map | |
init commit
Diffstat (limited to '.local/bin/map')
| -rwxr-xr-x | .local/bin/map | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/map b/.local/bin/map new file mode 100755 index 0000000..1b19380 --- /dev/null +++ b/.local/bin/map @@ -0,0 +1,8 @@ +#!/bin/sh + +keylayout=$(localectl list-x11-keymap-layouts | dmenu -p "Select keyboard layouts") +keymodel=$(localectl list-x11-keymap-variants | dmenu -p "Select keyboard model") + +setxkbmap $keylayout $keymodel + +notify-send "Set Keyboardlayout" "Layout: $keylayout\nModel: $keymodel" |