-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
201 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
{ | ||
"title": "lushlayers-ferris-sweep", | ||
"rules": [ | ||
{ | ||
"description": "lushlayers-ferris-sweep", | ||
"manipulators": [ | ||
{ | ||
"type": "basic", | ||
"conditions": [ | ||
{ | ||
"type": "device_if", | ||
"identifiers": [ | ||
{ | ||
"vendor_id": 7504, | ||
"product_id": 24926 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "variable_if", | ||
"name": "layer", | ||
"value": 0 | ||
} | ||
], | ||
"from": { | ||
"key_code": "f19" | ||
}, | ||
"to": [ | ||
{ | ||
"shell_command": "open -a Slack" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "basic", | ||
"conditions": [ | ||
{ | ||
"type": "device_if", | ||
"identifiers": [ | ||
{ | ||
"vendor_id": 7504, | ||
"product_id": 24926 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "variable_if", | ||
"name": "layer", | ||
"value": 0 | ||
} | ||
], | ||
"from": { | ||
"key_code": "f20" | ||
}, | ||
"to": [ | ||
{ | ||
"shell_command": "open -a Vivaldi" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "basic", | ||
"conditions": [ | ||
{ | ||
"type": "device_if", | ||
"identifiers": [ | ||
{ | ||
"vendor_id": 7504, | ||
"product_id": 24926 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "variable_if", | ||
"name": "layer", | ||
"value": 0 | ||
} | ||
], | ||
"from": { | ||
"key_code": "f21" | ||
}, | ||
"to": [ | ||
{ | ||
"shell_command": "open -a Alacritty" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "basic", | ||
"conditions": [ | ||
{ | ||
"type": "device_if", | ||
"identifiers": [ | ||
{ | ||
"vendor_id": 7504, | ||
"product_id": 24926 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "variable_if", | ||
"name": "layer", | ||
"value": 0 | ||
} | ||
], | ||
"from": { | ||
"key_code": "f22" | ||
}, | ||
"to": [ | ||
{ | ||
"shell_command": "open -a Calendar" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "basic", | ||
"conditions": [ | ||
{ | ||
"type": "device_if", | ||
"identifiers": [ | ||
{ | ||
"vendor_id": 7504, | ||
"product_id": 24926 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "variable_if", | ||
"name": "layer", | ||
"value": 0 | ||
} | ||
], | ||
"from": { | ||
"key_code": "f23" | ||
}, | ||
"to": [ | ||
{ | ||
"shell_command": "open -a Mail" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "basic", | ||
"conditions": [ | ||
{ | ||
"type": "device_if", | ||
"identifiers": [ | ||
{ | ||
"vendor_id": 7504, | ||
"product_id": 24926 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "variable_if", | ||
"name": "layer", | ||
"value": 0 | ||
} | ||
], | ||
"from": { | ||
"key_code": "f24" | ||
}, | ||
"to": [ | ||
{ | ||
"shell_command": "open -a Spotify" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import shared | ||
from lushlayers.config import Config, Device | ||
|
||
# This keyboard is configured primarily through ZMK. | ||
# It maps some keys to F-keys, which are mapped to apps here. | ||
Config( | ||
device=Device(vendor_id=7504, product_id=24926), | ||
aliases=shared.aliases, | ||
physical_layout=r""" | ||
_ _ _ _ _ _ _ _ _ _ | ||
_ f19 f20 f21 _ _ _ _ _ _ | ||
_ f22 f23 f24 _ _ _ _ _ _ | ||
_ _ _ _ | ||
""", | ||
layers=dict( | ||
default=r""" | ||
_ _ _ _ _ _ _ _ _ _ | ||
_ @cht @www @trm _ _ _ _ _ _ | ||
_ @cal @eml @mus _ _ _ _ _ _ | ||
_ _ _ _ | ||
""", | ||
__template=r""" | ||
_ _ _ _ _ _ _ _ _ _ | ||
_ _ _ _ _ _ _ _ _ _ | ||
_ _ _ _ _ _ _ _ _ _ | ||
_ _ _ _ | ||
""", | ||
), | ||
) |