From c245d1a5cc716440fa2bdc3df10e190d8bdf0f07 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 14 Mar 2024 21:23:57 +0000 Subject: [PATCH] Version entire global shortcuts file Makes managing (and diffing) them much simpler - I like my keybindings custom! --- files/kde/kglobalshortcutsrc | 315 +++++++++++++++++++++++++++++++++++ tasks/kde.yml | 30 ---- 2 files changed, 315 insertions(+), 30 deletions(-) create mode 100644 files/kde/kglobalshortcutsrc diff --git a/files/kde/kglobalshortcutsrc b/files/kde/kglobalshortcutsrc new file mode 100644 index 0000000..2ec1af1 --- /dev/null +++ b/files/kde/kglobalshortcutsrc @@ -0,0 +1,315 @@ +[ActivityManager] +_k_friendly_name=Activity Manager +switch-to-activity-59f58da0-9510-4b8a-ad53-376f50a4e6e0=none,none,Switch to activity "Default" + +[KDE Keyboard Layout Switcher] +Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout +Switch to Next Keyboard Layout=Meta+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout +_k_friendly_name=Keyboard Layout Switcher + +[kaccess] +Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off +_k_friendly_name=Accessibility + +[kcm_touchpad] +Disable Touchpad=Touchpad Off,Touchpad Off,Disable Touchpad +Enable Touchpad=Touchpad On,Touchpad On,Enable Touchpad +Toggle Touchpad=Touchpad Toggle,Touchpad Toggle\tMeta+Ctrl+Zenkaku Hankaku,Toggle Touchpad +_k_friendly_name=Touchpad + +[khotkeys] +_k_friendly_name=Custom Shortcuts Service +{d03619b6-9b3c-48cc-9d9c-a2aadb485550}=none,none,Search + +[kmix] +_k_friendly_name=Audio Volume +decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume +decrease_volume=Volume Down,Volume Down,Decrease Volume +decrease_volume_small=Shift+Volume Down,Shift+Volume Down,Decrease Volume by 1% +increase_microphone_volume=Microphone Volume Up,Microphone Volume Up,Increase Microphone Volume +increase_volume=Volume Up,Volume Up,Increase Volume +increase_volume_small=Shift+Volume Up,Shift+Volume Up,Increase Volume by 1% +mic_mute=Microphone Mute\tMeta+Volume Mute,Microphone Mute\tMeta+Volume Mute,Mute Microphone +mute=Volume Mute,Volume Mute,Mute + +[ksmserver] +Halt Without Confirmation=none,,Shut Down Without Confirmation +Lock Session=Meta+L\tScreensaver,Meta+L\tScreensaver,Lock Session +Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Log Out +Log Out Without Confirmation=none,,Log Out Without Confirmation +Reboot=none,,Reboot +Reboot Without Confirmation=none,,Reboot Without Confirmation +Shut Down=none,,Shut Down +_k_friendly_name=Session Management + +[kwin] +Activate Window Demanding Attention=Meta+Ctrl+A,Meta+Ctrl+A,Activate Window Demanding Attention +Cube=Meta+C,Meta+C,Toggle Cube +Cycle Overview=none,none,Cycle through Overview and Grid View +Cycle Overview Opposite=none,none,Cycle through Grid View and Overview +Decrease Opacity=none,,Decrease Opacity of Active Window by 5% +Edit Tiles=Meta+T,Meta+T,Toggle Tiles Editor +Expose=Ctrl+F9,Ctrl+F9,Toggle Present Windows (Current desktop) +ExposeAll=Ctrl+F10\tLaunch (C),Ctrl+F10\tLaunch (C),Toggle Present Windows (All desktops) +ExposeClass=Ctrl+F7,Ctrl+F7,Toggle Present Windows (Window class) +ExposeClassCurrentDesktop=none,none,Toggle Present Windows (Window class on current desktop) +Grid View=Meta+G,Meta+G,Toggle Grid View +Increase Opacity=none,,Increase Opacity of Active Window by 5% +Kill Window=Meta+Ctrl+Esc,Meta+Ctrl+Esc,Kill Window +Move Tablet to Next Output=none,none,Move the tablet to the next output +MoveMouseToCenter=Meta+F6,Meta+F6,Move Mouse to Centre +MoveMouseToFocus=Meta+F5,Meta+F5,Move Mouse to Focus +MoveZoomDown=none,none,Move Zoomed Area Downwards +MoveZoomLeft=none,none,Move Zoomed Area to Left +MoveZoomRight=none,none,Move Zoomed Area to Right +MoveZoomUp=none,none,Move Zoomed Area Upwards +Overview=Meta+W,Meta+W,Toggle Overview +Setup Window Shortcut=none,,Setup Window Shortcut +Show Desktop=Meta+D,Meta+D,Peek at Desktop +ShowDesktopGrid=Meta+F8,Meta+F8,Show Desktop Grid +Suspend Compositing=Alt+Shift+F12,Alt+Shift+F12,Suspend Compositing +Switch One Desktop Down=none,Meta+Ctrl+Down,Switch One Desktop Down +Switch One Desktop Up=none,Meta+Ctrl+Up,Switch One Desktop Up +Switch One Desktop to the Left=none,Meta+Ctrl+Left,Switch One Desktop to the Left +Switch One Desktop to the Right=none,Meta+Ctrl+Right,Switch One Desktop to the Right +Switch Window Down=Meta+Alt+Down,Meta+Alt+Down,Switch to Window Below +Switch Window Left=Meta+Alt+Left,Meta+Alt+Left,Switch to Window to the Left +Switch Window Right=Meta+Alt+Right,Meta+Alt+Right,Switch to Window to the Right +Switch Window Up=Meta+Alt+Up,Meta+Alt+Up,Switch to Window Above +Switch to Desktop 1=Ctrl+F1,Ctrl+F1,Switch to Desktop 1 +Switch to Desktop 10=none,,Switch to Desktop 10 +Switch to Desktop 11=none,,Switch to Desktop 11 +Switch to Desktop 12=none,,Switch to Desktop 12 +Switch to Desktop 13=none,,Switch to Desktop 13 +Switch to Desktop 14=none,,Switch to Desktop 14 +Switch to Desktop 15=none,,Switch to Desktop 15 +Switch to Desktop 16=none,,Switch to Desktop 16 +Switch to Desktop 17=none,,Switch to Desktop 17 +Switch to Desktop 18=none,,Switch to Desktop 18 +Switch to Desktop 19=none,,Switch to Desktop 19 +Switch to Desktop 2=Ctrl+F2,Ctrl+F2,Switch to Desktop 2 +Switch to Desktop 20=none,,Switch to Desktop 20 +Switch to Desktop 3=Ctrl+F3,Ctrl+F3,Switch to Desktop 3 +Switch to Desktop 4=Ctrl+F4,Ctrl+F4,Switch to Desktop 4 +Switch to Desktop 5=none,,Switch to Desktop 5 +Switch to Desktop 6=none,,Switch to Desktop 6 +Switch to Desktop 7=none,,Switch to Desktop 7 +Switch to Desktop 8=none,,Switch to Desktop 8 +Switch to Desktop 9=none,,Switch to Desktop 9 +Switch to Next Desktop=none,,Switch to Next Desktop +Switch to Next Screen=none,,Switch to Next Screen +Switch to Previous Desktop=none,,Switch to Previous Desktop +Switch to Previous Screen=none,,Switch to Previous Screen +Switch to Screen 0=none,,Switch to Screen 0 +Switch to Screen 1=none,,Switch to Screen 1 +Switch to Screen 2=none,,Switch to Screen 2 +Switch to Screen 3=none,,Switch to Screen 3 +Switch to Screen 4=none,,Switch to Screen 4 +Switch to Screen 5=none,,Switch to Screen 5 +Switch to Screen 6=none,,Switch to Screen 6 +Switch to Screen 7=none,,Switch to Screen 7 +Switch to Screen Above=none,,Switch to Screen Above +Switch to Screen Below=none,,Switch to Screen Below +Switch to Screen to the Left=none,,Switch to Screen to the Left +Switch to Screen to the Right=none,,Switch to Screen to the Right +Toggle Night Color=none,none,Toggle Night Light +Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower +Walk Through Windows=Alt+Tab,Alt+Tab,Walk Through Windows +Walk Through Windows (Reverse)=Alt+Shift+Backtab,Alt+Shift+Tab,Walk Through Windows (Reverse) +Walk Through Windows Alternative=none,,Walk Through Windows Alternative +Walk Through Windows Alternative (Reverse)=none,,Walk Through Windows Alternative (Reverse) +Walk Through Windows of Current Application=Alt+`,Alt+`,Walk Through Windows of Current Application +Walk Through Windows of Current Application (Reverse)=Alt+~,Alt+~,Walk Through Windows of Current Application (Reverse) +Walk Through Windows of Current Application Alternative=none,,Walk Through Windows of Current Application Alternative +Walk Through Windows of Current Application Alternative (Reverse)=none,,Walk Through Windows of Current Application Alternative (Reverse) +Window Above Other Windows=none,,Keep Window Above Others +Window Below Other Windows=none,,Keep Window Below Others +Window Close=Alt+F4,Alt+F4,Close Window +Window Fullscreen=Meta+F,,Make Window Fullscreen +Window Grow Horizontal=none,,Expand Window Horizontally +Window Grow Vertical=none,,Expand Window Vertically +Window Lower=none,,Lower Window +Window Maximize=Meta+PgUp,Meta+PgUp,Maximise Window +Window Maximize Horizontal=none,,Maximise Window Horizontally +Window Maximize Vertical=none,,Maximise Window Vertically +Window Minimize=Meta+PgDown,Meta+PgDown,Minimise Window +Window Move=none,,Move Window +Window Move Center=none,,Move Window to the Centre +Window No Border=none,,Toggle Window Titlebar and Frame +Window On All Desktops=none,,Keep Window on All Desktops +Window One Desktop Down=Meta+Ctrl+Shift+Down,Meta+Ctrl+Shift+Down,Window One Desktop Down +Window One Desktop Up=Meta+Ctrl+Shift+Up,Meta+Ctrl+Shift+Up,Window One Desktop Up +Window One Desktop to the Left=Meta+Ctrl+Shift+Left,Meta+Ctrl+Shift+Left,Window One Desktop to the Left +Window One Desktop to the Right=Meta+Ctrl+Shift+Right,Meta+Ctrl+Shift+Right,Window One Desktop to the Right +Window One Screen Down=none,,Move Window One Screen Down +Window One Screen Up=none,,Move Window One Screen Up +Window One Screen to the Left=none,,Move Window One Screen to the Left +Window One Screen to the Right=none,,Move Window One Screen to the Right +Window Operations Menu=Alt+F3,Alt+F3,Window Operations Menu +Window Pack Down=none,,Move Window Down +Window Pack Left=none,,Move Window Left +Window Pack Right=none,,Move Window Right +Window Pack Up=none,,Move Window Up +Window Quick Tile Bottom=Meta+Down,Meta+Down,Quick Tile Window to the Bottom +Window Quick Tile Bottom Left=none,,Quick Tile Window to the Bottom Left +Window Quick Tile Bottom Right=none,,Quick Tile Window to the Bottom Right +Window Quick Tile Left=Meta+Left,Meta+Left,Quick Tile Window to the Left +Window Quick Tile Right=Meta+Right,Meta+Right,Quick Tile Window to the Right +Window Quick Tile Top=Meta+Up,Meta+Up,Quick Tile Window to the Top +Window Quick Tile Top Left=none,,Quick Tile Window to the Top Left +Window Quick Tile Top Right=none,,Quick Tile Window to the Top Right +Window Raise=none,,Raise Window +Window Resize=none,,Resize Window +Window Shade=none,,Shade Window +Window Shrink Horizontal=none,,Shrink Window Horizontally +Window Shrink Vertical=none,,Shrink Window Vertically +Window to Desktop 1=none,,Window to Desktop 1 +Window to Desktop 10=none,,Window to Desktop 10 +Window to Desktop 11=none,,Window to Desktop 11 +Window to Desktop 12=none,,Window to Desktop 12 +Window to Desktop 13=none,,Window to Desktop 13 +Window to Desktop 14=none,,Window to Desktop 14 +Window to Desktop 15=none,,Window to Desktop 15 +Window to Desktop 16=none,,Window to Desktop 16 +Window to Desktop 17=none,,Window to Desktop 17 +Window to Desktop 18=none,,Window to Desktop 18 +Window to Desktop 19=none,,Window to Desktop 19 +Window to Desktop 2=none,,Window to Desktop 2 +Window to Desktop 20=none,,Window to Desktop 20 +Window to Desktop 3=none,,Window to Desktop 3 +Window to Desktop 4=none,,Window to Desktop 4 +Window to Desktop 5=none,,Window to Desktop 5 +Window to Desktop 6=none,,Window to Desktop 6 +Window to Desktop 7=none,,Window to Desktop 7 +Window to Desktop 8=none,,Window to Desktop 8 +Window to Desktop 9=none,,Window to Desktop 9 +Window to Next Desktop=none,,Window to Next Desktop +Window to Next Screen=Meta+Shift+Right,Meta+Shift+Right,Move Window to Next Screen +Window to Previous Desktop=none,,Window to Previous Desktop +Window to Previous Screen=Meta+Shift+Left,Meta+Shift+Left,Move Window to Previous Screen +Window to Screen 0=none,,Move Window to Screen 0 +Window to Screen 1=none,,Move Window to Screen 1 +Window to Screen 2=none,,Move Window to Screen 2 +Window to Screen 3=none,,Move Window to Screen 3 +Window to Screen 4=none,,Move Window to Screen 4 +Window to Screen 5=none,,Move Window to Screen 5 +Window to Screen 6=none,,Move Window to Screen 6 +Window to Screen 7=none,,Move Window to Screen 7 +_k_friendly_name=KWin +view_actual_size=Meta+0,Meta+0,Zoom to Actual Size +view_zoom_in=Meta++\tMeta+=,Meta++\tMeta+=,Zoom In +view_zoom_out=Meta+-,Meta+-,Zoom Out + +[lattedock] +_k_friendly_name=Latte Dock +activate entry 1=none,Meta+1,Activate Entry 1 +activate entry 10=none,Meta+0,Activate Entry 10 +activate entry 11=Meta+Z,Meta+Z,Activate Entry 11 +activate entry 12=Meta+X,Meta+X,Activate Entry 12 +activate entry 13=,Meta+C,Activate Entry 13 +activate entry 14=none,Meta+V,Activate Entry 14 +activate entry 15=Meta+B,Meta+B,Activate Entry 15 +activate entry 16=none,Meta+N,Activate Entry 16 +activate entry 17=Meta+M,Meta+M,Activate Entry 17 +activate entry 18=Meta+\\,,Meta+\\,,Activate Entry 18 +activate entry 19=none,Meta+.,Activate Entry 19 +activate entry 2=none,Meta+2,Activate Entry 2 +activate entry 3=none,Meta+3,Activate Entry 3 +activate entry 4=none,Meta+4,Activate Entry 4 +activate entry 5=none,Meta+5,Activate Entry 5 +activate entry 6=none,Meta+6,Activate Entry 6 +activate entry 7=none,Meta+7,Activate Entry 7 +activate entry 8=none,Meta+8,Activate Entry 8 +activate entry 9=none,Meta+9,Activate Entry 9 +new instance for entry 1=Meta+Ctrl+1,Meta+Ctrl+1,New Instance for Entry 1 +new instance for entry 10=Meta+Ctrl+0,Meta+Ctrl+0,New Instance for Entry 10 +new instance for entry 11=Meta+Ctrl+Z,Meta+Ctrl+Z,New Instance for Entry 11 +new instance for entry 12=none,Meta+Ctrl+X,New Instance for Entry 12 +new instance for entry 13=Meta+Ctrl+C,Meta+Ctrl+C,New Instance for Entry 13 +new instance for entry 14=Meta+Ctrl+V,Meta+Ctrl+V,New Instance for Entry 14 +new instance for entry 15=Meta+Ctrl+B,Meta+Ctrl+B,New Instance for Entry 15 +new instance for entry 16=Meta+Ctrl+N,Meta+Ctrl+N,New Instance for Entry 16 +new instance for entry 17=Meta+Ctrl+M,Meta+Ctrl+M,New Instance for Entry 17 +new instance for entry 18=Meta+Ctrl+\\,,Meta+Ctrl+\\,,New Instance for Entry 18 +new instance for entry 19=Meta+Ctrl+.,Meta+Ctrl+.,New Instance for Entry 19 +new instance for entry 2=Meta+Ctrl+2,Meta+Ctrl+2,New Instance for Entry 2 +new instance for entry 3=Meta+Ctrl+3,Meta+Ctrl+3,New Instance for Entry 3 +new instance for entry 4=Meta+Ctrl+4,Meta+Ctrl+4,New Instance for Entry 4 +new instance for entry 5=Meta+Ctrl+5,Meta+Ctrl+5,New Instance for Entry 5 +new instance for entry 6=Meta+Ctrl+6,Meta+Ctrl+6,New Instance for Entry 6 +new instance for entry 7=Meta+Ctrl+7,Meta+Ctrl+7,New Instance for Entry 7 +new instance for entry 8=Meta+Ctrl+8,Meta+Ctrl+8,New Instance for Entry 8 +new instance for entry 9=Meta+Ctrl+9,Meta+Ctrl+9,New Instance for Entry 9 +show latte global settings=none,Meta+W,Show Latte Global Settings +show latte view=Meta+`,Meta+`,Show Latte Dock/Panel +show view settings=Meta+A,Meta+A,Cycle Through Dock/Panel Settings Windows + +[mediacontrol] +_k_friendly_name=Media Controller +mediavolumedown=none,,Media volume down +mediavolumeup=none,,Media volume up +nextmedia=Media Next,Media Next,Media playback next +pausemedia=Media Pause,Media Pause,Pause media playback +playmedia=none,,Play media playback +playpausemedia=Media Play,Media Play,Play/Pause media playback +previousmedia=Media Previous,Media Previous,Media playback previous +stopmedia=Media Stop,Media Stop,Stop media playback + +[org_kde_powerdevil] +Decrease Keyboard Brightness=Keyboard Brightness Down,Keyboard Brightness Down,Decrease Keyboard Brightness +Decrease Screen Brightness=Monitor Brightness Down,Monitor Brightness Down,Decrease Screen Brightness +Decrease Screen Brightness Small=Shift+Monitor Brightness Down,Shift+Monitor Brightness Down,Decrease Screen Brightness by 1% +Hibernate=Hibernate,Hibernate,Hibernate +Increase Keyboard Brightness=Keyboard Brightness Up,Keyboard Brightness Up,Increase Keyboard Brightness +Increase Screen Brightness=Monitor Brightness Up,Monitor Brightness Up,Increase Screen Brightness +Increase Screen Brightness Small=Shift+Monitor Brightness Up,Shift+Monitor Brightness Up,Increase Screen Brightness by 1% +PowerDown=Power Down,Power Down,Power Down +PowerOff=Power Off,Power Off,Power Off +Sleep=Sleep,Sleep,Suspend +Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight +Turn Off Screen=none,none,Turn Off Screen +_k_friendly_name=KDE Power Management System +powerProfile=Battery,Battery\tMeta+B,Switch Power Profile + +[plasmashell] +_k_friendly_name=plasmashell +activate task manager entry 1=Meta+1,Meta+1,Activate Task Manager Entry 1 +activate task manager entry 10=none,Meta+0,Activate Task Manager Entry 10 +activate task manager entry 2=Meta+2,Meta+2,Activate Task Manager Entry 2 +activate task manager entry 3=Meta+3,Meta+3,Activate Task Manager Entry 3 +activate task manager entry 4=Meta+4,Meta+4,Activate Task Manager Entry 4 +activate task manager entry 5=Meta+5,Meta+5,Activate Task Manager Entry 5 +activate task manager entry 6=Meta+6,Meta+6,Activate Task Manager Entry 6 +activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7 +activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8 +activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9 +clear-history=none,,Clear Clipboard History +clipboard_action=Meta+Ctrl+X,Meta+Ctrl+X,Automatic Action Popup Menu +cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels +cycleNextAction=none,,Next History Item +cyclePrevAction=none,,Previous History Item +edit_clipboard=none,none,Edit Contentsā€¦ +manage activities=Meta+Q,Meta+Q,Show Activity Switcher +next activity=Meta+Tab,Meta+Tab,Walk through activities +previous activity=Meta+Shift+Tab,Meta+Shift+Tab,Walk through activities (Reverse) +repeat_action=Meta+Ctrl+R,Meta+Ctrl+R,Manually Invoke Action on Current Clipboard +show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop +show-barcode=none,,Show Barcodeā€¦ +show-on-mouse-pos=Meta+V,Meta+V,Show Clipboard Items at Mouse Position +stop current activity=Meta+S,Meta+S,Stop Current Activity +switch to next activity=none,,Switch to Next Activity +switch to previous activity=none,,Switch to Previous Activity +toggle do not disturb=Meta+N,,Toggle do not disturb + +[services][org.kde.konsole.desktop] +_launch=Meta+Return + +[services][org.kde.spectacle.desktop] +ActiveWindowScreenShot=none +FullScreenScreenShot=none +RecordRegion=none +RecordScreen=none +RecordWindow=none +RectangularRegionScreenShot=Print +WindowUnderCursorScreenShot=none +_launch=Meta+Print diff --git a/tasks/kde.yml b/tasks/kde.yml index d7920a0..4242ff7 100644 --- a/tasks/kde.yml +++ b/tasks/kde.yml @@ -160,22 +160,6 @@ key: only basic indexing value: true -- name: Set do not disturb shortcut - realorangeone.kconfig.kconfig: - group: plasmashell - file: kglobalshortcutsrc - key: toggle do not disturb - value: Meta+N,,Toggle do not disturb - -- name: Open terminal with Meta+Return - realorangeone.kconfig.kconfig: - group: - - services - - org.kde.konsole.desktop - file: kglobalshortcutsrc - key: _launch - value: Meta+Return - - name: Send basic system information realorangeone.kconfig.kconfig: group: Global @@ -189,17 +173,3 @@ file: klipperrc key: KeepClipboardContents value: false - -- name: Customize fullscreen shortcut - realorangeone.kconfig.kconfig: - group: kwin - file: kglobalshortcutsrc - key: Window Fullscreen - value: Meta+F,,Make Window Fullscreen - -- name: Add window resize shortcut - realorangeone.kconfig.kconfig: - group: kwin - file: kglobalshortcutsrc - key: Window Resize - value: Meta+R,,Resize Window