fix X11 keyboard

This commit is contained in:
Vitor Lopes 2021-01-19 09:36:25 +00:00
parent 73ff6ae1f4
commit 16a7034ecc
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,7 @@
[Desktop Entry]
Name=setxkbmap
Comment=setxkbmap
Exec=/bin/setKeyboard.sh
StartupNotify=false
Terminal=false
Type=Application

View file

@ -0,0 +1,3 @@
#!/bin/bash
layout="$(localectl status | grep Layout | cut -d ':' -f 2)"
setxkbmap $layout