mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
install-new-server.sh: automate fzf installaiton, update go version,
mv launch-scripts other-scripts, rm screen-scripts
This commit is contained in:
14
other-scripts/keyboard-layout.sh
Executable file
14
other-scripts/keyboard-layout.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
curr=$(setxkbmap -print | awk -F"+" '/xkb_symbols/ {print $2}')
|
||||
|
||||
if [[ $curr = "us" ]];
|
||||
then
|
||||
setxkbmap -layout es -variant ',cat' -option
|
||||
echo "keyboard layout set to Catalan"
|
||||
else
|
||||
setxkbmap -layout us -option
|
||||
echo "keyboard layout set to English (US)"
|
||||
fi
|
||||
|
||||
xmodmap ~/.Xmodmap
|
||||
Reference in New Issue
Block a user