Add OmaKeyboard: keyboard remapping and shortcuts (#564)
A Qt Quick application for remapping keys, building Fn-style layers and managing shortcuts, per keyboard. It generates real XKB keymaps with libxkbcommon and loads them through Hyprland's per-device kb_file; no input daemon or third-party remapping engine is involved. Builds from the published v0.1.0 tag. check() runs the project's tests, which need no display. Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
5abe08fbab
commit
17ae27fb21
3 files changed
+96
No files matched your search
@@ -0,0 +1,24 @@
|
||||
post_install() {
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor >/dev/null 2>&1 || true
|
||||
update-desktop-database -q >/dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
|
||||
cat <<'MESSAGE'
|
||||
OmaKeyboard has been removed, but the configuration it generated is still in place:
|
||||
|
||||
~/.config/omakeyboard/ your rules and the generated data
|
||||
~/.config/hypr/omakeyboard.lua the loader
|
||||
~/.local/state/omakeyboard/ generated keymaps and backups
|
||||
|
||||
and hyprland.lua still requires the loader. To undo all of that, run
|
||||
"Restore defaults" in the app before uninstalling, or remove the block
|
||||
marked OmaKeyboard from ~/.config/hypr/hyprland.lua by hand.
|
||||
MESSAGE
|
||||
}
|
||||
Reference in new issue
Block a user