Compare commits
2 Commits
fa4cf31300
...
bcc7291145
Author | SHA1 | Date |
---|---|---|
Rudis Muiznieks | bcc7291145 | |
Rudis Muiznieks | 5b2ba5d9d0 |
|
@ -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 &
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue