Last active
April 15, 2025 01:15
-
-
Save KarimullinArthur/28434b2c7a392480d64221b79c48449c to your computer and use it in GitHub Desktop.
kbct config file
This file contains hidden or 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
[Unit] | |
Description=Rebind my keyboard via kbct | |
Requires=uinput.service | |
[Service] | |
Type=simple | |
ExecStart=sudo kbct remap --config /home/arthur/.config/kbct.yaml | |
Restart=always | |
[Install] | |
WantedBy=default.target |
This file contains hidden or 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
# Apply this configuration to two keyboards (if connected) | |
- keyboards: ["AT Translated Set 2 keyboard"] | |
keymap: | |
capslock: backspace | |
backspace: capslock | |
context_menu: capslock | |
compose: rightmeta | |
# Specify layered configurations (much similar to fn+F keys) | |
layers: | |
# Specify the modifiers of the layer | |
- modifiers: ['rightshift'] | |
keymap: | |
capslock: capslock | |
- modifiers: ['leftshift'] | |
keymap: | |
compose: compose |
This file contains hidden or 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
[Unit] | |
Description=Load uinput module | |
After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/sbin/modprobe uinput | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment