mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 02:04:45 +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 {
|
HomeScreenComponents.QuickSetting {
|
||||||
text: i18n("Auto-rotate")
|
text: i18n("Auto-rotate")
|
||||||
icon: "rotation-allowed"
|
icon: "rotation-allowed"
|
||||||
|
settingsCommand: "plasma-open-settings kcm_kscreen"
|
||||||
enabled: plasmoid.nativeInterface.autoRotateEnabled
|
enabled: plasmoid.nativeInterface.autoRotateEnabled
|
||||||
function toggle() {
|
function toggle() {
|
||||||
plasmoid.nativeInterface.autoRotateEnabled = !enabled
|
plasmoid.nativeInterface.autoRotateEnabled = !enabled
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue