mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2025-07-05 19:39:42 +03:00
Add new scripts
This commit is contained in:
11
scripts/chlayout
Executable file
11
scripts/chlayout
Executable file
@ -0,0 +1,11 @@
|
||||
#!/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
|
Reference in New Issue
Block a user