mirror of
https://github.com/KevinMidboe/dotfiles.git
synced 2025-10-29 09:30:20 +00:00
added restartinterface script & renamed tbind w/o suffix
This commit is contained in:
9
scripts/tbind
Normal file
9
scripts/tbind
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
CAPS_KEY=0x700000039
|
||||
F10_KEY=0x700000043
|
||||
|
||||
DATA=$(printf '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":%s,"HIDKeyboardModifierMappingDst":%s}]}' $CAPS_KEY $F10_KEY)
|
||||
hidutil property --set $DATA
|
||||
|
||||
echo "Successfully overwrote CAPS KEY to F10!"
|
||||
Reference in New Issue
Block a user