Getting karabiners config right
This commit is contained in:
parent
fb118697b6
commit
6cbf0294b7
2 changed files with 310 additions and 274 deletions
|
|
@ -14,6 +14,42 @@
|
||||||
"rules": [
|
"rules": [
|
||||||
{
|
{
|
||||||
"manipulators": [
|
"manipulators": [
|
||||||
|
{
|
||||||
|
"description": "map left shift to opening parenthesis",
|
||||||
|
"type": "basic",
|
||||||
|
"from": {
|
||||||
|
"key_code": "left_shift",
|
||||||
|
"modifiers": {
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to_if_alone": [{
|
||||||
|
"key_code": "9",
|
||||||
|
"modifiers": ["left_shift"]
|
||||||
|
}],
|
||||||
|
"to": [{
|
||||||
|
"key_code": "left_shift",
|
||||||
|
"modifiers": []
|
||||||
|
}]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "map right shift to closing parenthesis",
|
||||||
|
"type": "basic",
|
||||||
|
"from": {
|
||||||
|
"key_code": "right_shift",
|
||||||
|
"modifiers": {
|
||||||
|
"optional": ["any"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"to_if_alone": [{
|
||||||
|
"key_code": "0",
|
||||||
|
"modifiers": ["right_shift"]
|
||||||
|
}],
|
||||||
|
"to": [{
|
||||||
|
"key_code": "right_shift",
|
||||||
|
"modifiers": []
|
||||||
|
}]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"conditions": [
|
"conditions": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ ln -sf ~/dotfiles/msmtprc ~/.msmtprc
|
||||||
ln -sf ~/dotfiles/muttrc ~/.muttrc
|
ln -sf ~/dotfiles/muttrc ~/.muttrc
|
||||||
|
|
||||||
# Mac only
|
# Mac only
|
||||||
# rm ~/.karabiner.d/configuration/karabiner.json; ln -s ~/dotfiles/karabiner.json ~/.karabiner.d/configuration/karabiner.json
|
mkdir -p ~/.config/karabiner; ln -sf ~/dotfiles/karabiner.json ~/.config/karabiner/karabiner.json
|
||||||
touch ~/.hushlogin
|
touch ~/.hushlogin
|
||||||
mkdir -p ~/Library/Application\ Support/glances; ln -sf ~/dotfiles/glances.conf ~/Library/Application\ Support/glances/glances.conf
|
mkdir -p ~/Library/Application\ Support/glances; ln -sf ~/dotfiles/glances.conf ~/Library/Application\ Support/glances/glances.conf
|
||||||
mkdir -p ~/.qutebrowser; ln -sf ~/dotfiles/qutebrowser.py ~/.qutebrowser/config.py
|
mkdir -p ~/.qutebrowser; ln -sf ~/dotfiles/qutebrowser.py ~/.qutebrowser/config.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue