From ac87e8f1443dd0166838f27a087da6cc6a8e5cf4 Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Wed, 15 Apr 2020 00:48:32 -0500 Subject: [PATCH] - Resolved Cmd-Tab bug with terminals under KDE --- .xkb/symbols/mac_term | 10 +++++----- setup.py | 2 +- user_config.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.xkb/symbols/mac_term b/.xkb/symbols/mac_term index 31ca621..6a57a0c 100644 --- a/.xkb/symbols/mac_term +++ b/.xkb/symbols/mac_term @@ -2,14 +2,14 @@ default partial xkb_symbols "mac_apple" { key { repeat= no, type= "ONE_LEVEL", - symbols[Group1]= [ Hyper_L ], - actions[group1]=[ SetMods(modifiers=Shift+Control) ] + symbols[Group1]= [ Control_L ], + actions[group1]=[ SetMods(modifiers=Control+Shift) ] }; key { repeat= no, type= "ONE_LEVEL", - symbols[Group1]= [ Hyper_R ], - actions[group1]=[ SetMods(modifiers=Shift+Control) ] + symbols[Group1]= [ Control_R ], + actions[group1]=[ SetMods(modifiers=Control+Shift) ] }; }; partial xkb_symbols "mac_win" { @@ -111,7 +111,7 @@ partial xkb_symbols "mac_global" { NoAction(), NoAction(), // Redirect(key=) // Default cmdtab - // Redirect(key=) // KDE cmdtab + // Redirect(key=,clearmods=Shift) // KDE cmdtab // Redirect(key=,mods=Control+Shift,clearmods=Mod4+Super) // Elementary cmdtab ] }; diff --git a/setup.py b/setup.py index 70795f7..19df0b6 100755 --- a/setup.py +++ b/setup.py @@ -135,7 +135,7 @@ def setShortcuts(): cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Switch to Previous Desktop" "Meta+Left,Meta+Left,Switch to Previous Desktop"') cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Window Operations Menu" "none,Alt+F3,Window Operations Menu"') cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Walk Through Windows" "Ctrl+F13,Alt+Tab,Walk Through Windows"') - cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Walk Through Windows Alternative" "Ctrl+Shift+F13,none,Walk Through Windows"') + cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Walk Through Windows Alternative" "none,none,Walk Through Windows"') cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Walk Through Windows (Reverse)" "Ctrl+Shift+F14,Alt+Shift+Backtab,Walk Through Windows (Reverse)"') cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Maximize Window" "none,Meta+PgUp,Maximize Window"') cmdline('kwriteconfig5 --file "$HOME/.config/kglobalshortcutsrc" --group "kwin" --key "Window Maximize" "Meta+Ctrl+F,Alt+F10,Maximize Window"') diff --git a/user_config.json b/user_config.json index 92268c2..ba995ac 100644 --- a/user_config.json +++ b/user_config.json @@ -21,8 +21,8 @@ { "name": "firefox", "run": "", - "run_onInput": "killall xbindkeys > /dev/null 2>&1", - "run_offInput": "killall xbindkeys > /dev/null 2>&1;xbindkeys -f $HOME/.config/kinto/.firefox-nw", + "run_onInput": "pkill -f ~/.config/kinto/.firefox-nw", + "run_offInput": "xbindkeys -f $HOME/.config/kinto/.firefox-nw", "symbols": "", "types": "", "de": [],