Ver Fonte

Store command to query current layout

Command commanded out, detect fr or us
DricomDragon há 4 anos atrás
pai
commit
96864fc083
1 ficheiros alterados com 3 adições e 0 exclusões
  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"