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,25 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: 2022 ivan (@ratijas) tkachenko <me@ratijas.tk>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
import org.kde.plasma.plasmoid 2.0
|
||||
|
||||
|
||||
Controller {
|
||||
id: controller
|
||||
|
||||
titleInactive: i18nc("@action:button", "Run custom command")
|
||||
titleActive: titleInactive
|
||||
|
||||
descriptionActive: i18nc("@info:tooltip", "Run user-defined command when pressed")
|
||||
descriptionInactive: descriptionActive
|
||||
|
||||
active: false
|
||||
|
||||
// override
|
||||
function toggle() {
|
||||
root.exec(Plasmoid.configuration.click_command);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue