Browse Source

Store command to query current layout

Command commanded out, detect fr or us
DricomDragon 4 years ago
parent
commit
96864fc083
1 changed files with 3 additions and 0 deletions
  1. 3 0
      CommonScripts/swapkeyboard

+ 3 - 0
CommonScripts/swapkeyboard

@@ -5,3 +5,6 @@ if [[ -n $(setxkbmap -query | grep fr -o) ]]; then
 else
 	setxkbmap fr
 fi
+
+# To display us or fr according to current keyboard
+# setxkbmap -query | grep -oE "us|fr"