mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Open KScreen KCM on auto-rotate long press
This commit is contained in:
parent
4aa1bc3a8c
commit
4a52d8b791
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ HomeScreenComponents.QuickSettingsModel
|
|||
HomeScreenComponents.QuickSetting {
|
||||
text: i18n("Auto-rotate")
|
||||
icon: "rotation-allowed"
|
||||
settingsCommand: "plasma-open-settings kcm_kscreen"
|
||||
enabled: plasmoid.nativeInterface.autoRotateEnabled
|
||||
function toggle() {
|
||||
plasmoid.nativeInterface.autoRotateEnabled = !enabled
|
||||
|
|
|
|||
Loading…
Reference in a new issue