mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-11-14 13:09:37 +01:00
12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
variant=$(setxkbmap -query | grep variant | cut -d" " -f5)
|
||
|
|
||
|
if [[ $variant == "cdhisopt" ]]
|
||
|
then
|
||
|
setxkbmap us cdhpt -option ''
|
||
|
else
|
||
|
setxkbmap us cdhisopt 'caps:ctrl_modifier'
|
||
|
fi
|