xkeysnail: remove with lib (#411387)

This commit is contained in:
Aleksana 2025-06-01 23:29:51 +08:00 committed by GitHub
commit 58df3ddb48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 8 deletions

View file

@ -39,14 +39,10 @@ define_keymap(re.compile("Google-chrome|Chromium-browser|firefox"), {
K("C-slash"): [K("C-z"), set_mark(False)], K("C-slash"): [K("C-z"), set_mark(False)],
K("C-space"): aaflip(), K("C-space"): aaflip(),
# K("C-space"): set_mark(True),
K("C-M-space"): with_or_set_mark(K("C-right")), K("C-M-space"): with_or_set_mark(K("C-right")),
K("enter"): aaif(), K("enter"): aaif(),
K("C-s"): [K("F3"), aaset(True)], K("C-s"): [K("F3"), aaset(True)],
K("C-r"): [K("Shift-F3"), aaset(True)], K("C-r"): [K("Shift-F3"), aaset(True)],
K("C-g"): [K("esc"), aaset(False)] K("C-g"): [K("esc"), aaset(False)]
# K("C-s"): K("F3"),
# K("C-r"): K("Shift-F3"),
# K("C-g"): [K("esc"), set_mark(False)]
}) })

View file

@ -37,11 +37,11 @@ python3Packages.buildPythonApplication {
--add-flags "-q" --add-flags "$out/share/browser.py" --add-flags "-q" --add-flags "$out/share/browser.py"
''; '';
meta = with lib; { meta = {
description = "Yet another keyboard remapping tool for X environment"; description = "Yet another keyboard remapping tool for X environment";
homepage = "https://github.com/mooz/xkeysnail"; homepage = "https://github.com/mooz/xkeysnail";
platforms = platforms.linux; platforms = lib.platforms.linux;
license = licenses.gpl1Only; license = lib.licenses.gpl1Only;
maintainers = with maintainers; [ bb2020 ]; maintainers = with lib.maintainers; [ bb2020 ];
}; };
} }