Compare commits

...

2 Commits

Author SHA1 Message Date
Rudis Muiznieks bcc7291145
shortcut setup script 2023-04-10 18:54:23 -05:00
Rudis Muiznieks 5b2ba5d9d0
new shortcuts 2023-04-10 17:58:49 -05:00
2 changed files with 20 additions and 0 deletions

16
kde/clear-shortcuts Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
# 1. run this script to clear all default KDE shortcuts
# 2. add missing applications to shortcuts config (bitwarden, konsole)
# 3. import kde-shortcuts.kksrc
hotkeysRC="$HOME/.config/kglobalshortcutsrc"
# Remove application launching shortcuts.
sed -i 's/_launch=[^,]*/_launch=none/g' "$hotkeysRC"
# Remove other global shortcuts.
sed -i 's/^\([^_][^=]*\)=[^,]*,/\1=none,/g' "$hotkeysRC"
# Reload hotkeys.
kquitapp5 kglobalaccel && sleep 2s && kglobalaccel5 &

View File

@ -13,6 +13,7 @@ Switch to Desktop 7=Meta+7
Switch to Desktop 8=Meta+8
Switch to Desktop 9=Meta+9
Walk Through Windows=Meta+Tab
Walk Through Windows (Reverse)=Meta+Shift+Tab
Window Close=Meta+C
Window Maximize=Meta+F
Window Quick Tile Bottom=Meta+Down
@ -37,3 +38,6 @@ _launch=Meta+Return
[yakuake][Global Shortcuts]
toggle-window-state=Meta+`
[org.kde.krunner.desktop][Global Shortcuts]
_launch=Meta+Space