projects
/
dcc-suckless-config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
multilib is correct now
[dcc-suckless-config]
/
bashs
/
shell scrips
/
keyboardlayoutswitcher.sh
diff --git
a/bashs/shell scrips/keyboardlayoutswitcher.sh
b/bashs/shell scrips/keyboardlayoutswitcher.sh
index ff3101c52ed391ccec438142442dca5a669b3b1b..838b0130e263777707e8e3683dad3bf6df6677d8 100755
(executable)
--- a/
bashs/shell scrips/keyboardlayoutswitcher.sh
+++ b/
bashs/shell scrips/keyboardlayoutswitcher.sh
@@
-1,4
+1,4
@@
-#!/
usr/local/
bin/bash
+#!/bin/bash
numberofparameter=$# # Gets the number of parameter passed
currentlayout=$(setxkbmap -query | grep layout | awk '{print $2}') # Gets the current layout