mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Very early KDE 6 release.
This commit is contained in:
parent
7cc4ccabbc
commit
686046d4f7
6272 changed files with 140920 additions and 529657 deletions
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: 2022 ivan (@ratijas) tkachenko <me@ratijas.tk>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
import org.kde.plasma.private.showdesktop 0.1
|
||||
import org.kde.plasma.plasmoid 2.0
|
||||
|
||||
|
||||
Controller {
|
||||
id: controller
|
||||
|
||||
titleInactive: i18nc("@action:button", "Peek at Desktop")
|
||||
titleActive: Plasmoid.containment.corona.editMode ? titleInactive : i18nc("@action:button", "Stop Peeking at Desktop")
|
||||
|
||||
descriptionActive: i18nc("@info:tooltip", "Moves windows back to their original positions")
|
||||
descriptionInactive: i18nc("@info:tooltip", "Temporarily shows the desktop by moving windows away")
|
||||
|
||||
active: showdesktop.showingDesktop
|
||||
|
||||
// override
|
||||
function toggle() {
|
||||
showdesktop.toggleDesktop();
|
||||
}
|
||||
|
||||
readonly property ShowDesktop showdesktop: ShowDesktop {
|
||||
id: showdesktop
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue