From 7dce3b358f6decf8cd0e83eb01361f4cb1d59b6a Mon Sep 17 00:00:00 2001 From: bb2020 Date: Sat, 8 Mar 2025 23:00:36 +0300 Subject: [PATCH] xkeysnail: remove with lib --- pkgs/by-name/xk/xkeysnail/emacs.py | 4 ---- pkgs/by-name/xk/xkeysnail/package.nix | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/xk/xkeysnail/emacs.py b/pkgs/by-name/xk/xkeysnail/emacs.py index 0df5042e277a..b9f963989156 100644 --- a/pkgs/by-name/xk/xkeysnail/emacs.py +++ b/pkgs/by-name/xk/xkeysnail/emacs.py @@ -39,14 +39,10 @@ define_keymap(re.compile("Google-chrome|Chromium-browser|firefox"), { K("C-slash"): [K("C-z"), set_mark(False)], K("C-space"): aaflip(), - # K("C-space"): set_mark(True), K("C-M-space"): with_or_set_mark(K("C-right")), K("enter"): aaif(), K("C-s"): [K("F3"), aaset(True)], K("C-r"): [K("Shift-F3"), aaset(True)], 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)] }) diff --git a/pkgs/by-name/xk/xkeysnail/package.nix b/pkgs/by-name/xk/xkeysnail/package.nix index 4ebbfe05edd7..15b918fb1e31 100644 --- a/pkgs/by-name/xk/xkeysnail/package.nix +++ b/pkgs/by-name/xk/xkeysnail/package.nix @@ -37,11 +37,11 @@ python3Packages.buildPythonApplication rec { --add-flags "-q" --add-flags "$out/share/browser.py" ''; - meta = with lib; { + meta = { description = "Yet another keyboard remapping tool for X environment"; homepage = "https://github.com/mooz/xkeysnail"; - platforms = platforms.linux; - license = licenses.gpl1Only; - maintainers = with maintainers; [ bb2020 ]; + platforms = lib.platforms.linux; + license = lib.licenses.gpl1Only; + maintainers = with lib.maintainers; [ bb2020 ]; }; }