From d39468811ea4e87aa90ddf00b41dcc5685cccbb7 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 1 Nov 2022 18:18:56 +0100 Subject: [PATCH] changes --- other/xkeysnail.py | 8 ++++---- scripts/desktop/permaclip/pc-set.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/other/xkeysnail.py b/other/xkeysnail.py index 5ee16b1..e60d7de 100644 --- a/other/xkeysnail.py +++ b/other/xkeysnail.py @@ -37,7 +37,7 @@ define_keymap(re.compile("Firefox|Google-chrome|LibreWolf|Chromium"), { }, "Firefox and Chrome") #basic emacs -define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "kitty", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "gw2-64.exe", "neovide"), { +define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "kitty", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "gw2-64.exe", "neovide", "Material Maker"), { # Cursor K("C-b"): with_mark(K("left")), K("C-f"): with_mark(K("right")), @@ -58,19 +58,19 @@ define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro- }, "Basic emacs keys etc") -define_keymap(lambda wm_class: wm_class not in ("discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "nheko", "Signal", "gw2-64.exe"), { +define_keymap(lambda wm_class: wm_class not in ("discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "nheko", "Signal", "gw2-64.exe", "Material Maker"), { # Kill line K("C-k"): [K("Shift-end"), K("C-x"), set_mark(False)], }) # other emacs like -define_keymap(lambda wm_class: wm_class not in ("Emacs", "URxvt", "konsole", "cool-retro-term", "discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "nheko", "Signal"), { +define_keymap(lambda wm_class: wm_class not in ("Emacs", "URxvt", "konsole", "cool-retro-term", "discord", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "Gimp-2.10", "obsidian", "nheko", "Signal", "Material Maker"), { # Beginning/End of file K("M-Shift-comma"): with_mark(K("C-home")), K("M-Shift-dot"): with_mark(K("C-end")), }, "Emacs-like keys") -define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "gw2-64.exe"), { +define_keymap(lambda wm_class: wm_class not in ("Emacs", "konsole", "cool-retro-term", "jetbrains-webstorm", "jetbrains-clion", "jetbrains-pycharm", "jetbrains-dataspell", "jetbrains-idea", "gw2-64.exe", "Material Maker"), { K("C-j"): K("F6") }) diff --git a/scripts/desktop/permaclip/pc-set.sh b/scripts/desktop/permaclip/pc-set.sh index 5f194a5..c009170 100644 --- a/scripts/desktop/permaclip/pc-set.sh +++ b/scripts/desktop/permaclip/pc-set.sh @@ -5,7 +5,7 @@ tr_name=$(echo $@ | xargs) if [ x"$tr_name" != x"" ]; then tr_name="${tr_name% (*}" clipdata=$(xclip -selection c -o) - echo $clipdata > $HOME/permaclip/$tr_name + echo "$clipdata" > $HOME/permaclip/$tr_name fi echo -e "\0markup-rows\x1ftrue"