Browse Source

Create script to swap keyboard

Swap between fr and prog dvorak.
DricomDragon 4 years ago
parent
commit
af9173a6d0
1 changed files with 7 additions and 0 deletions
  1. 7 0
      CommonScripts/swapkeyboard

+ 7 - 0
CommonScripts/swapkeyboard

@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [[ -n $(setxkbmap -query | grep fr -o) ]]; then
+	setxkbmap us -variant dvp
+else
+	setxkbmap fr
+fi