-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Dynamic keymap gen with python"
This reverts commit e7946b0.
- Loading branch information
1 parent
d198564
commit 3a0e754
Showing
4 changed files
with
612,857 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
echo "{" > gjsosk@vishram1123.com/keycodes.json | ||
for i in $(localectl list-x11-keymap-layouts); do | ||
echo $i | ||
python genKeyMap.py "$i" >> gjsosk@vishram1123.com/keycodes.json | ||
for j in $(localectl list-x11-keymap-variants $i 2> /dev/null); do | ||
echo "$i+$j" | ||
python genKeyMap.py "$i+$j" >> gjsosk@vishram1123.com/keycodes.json | ||
done; | ||
done; | ||
tac "gjsosk@vishram1123.com/keycodes.json" | awk -v c="," '!p && sub(c, "") {p=1} 1' | tac > temp.txt && mv temp.txt "gjsosk@vishram1123.com/keycodes.json" | ||
echo "}" >> gjsosk@vishram1123.com/keycodes.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.