项目作者: Intika-KDE-Plasmoids

项目描述 :
A Configurable On/Off Switch Plasmoid Commands (based on neicker/on-off-switch fork)
高级语言: QML
项目地址: git://github.com/Intika-KDE-Plasmoids/plasmoid-on-off-switch-commands.git
创建时间: 2019-05-24T12:47:41Z
项目社区:https://github.com/Intika-KDE-Plasmoids/plasmoid-on-off-switch-commands

开源协议:GNU General Public License v3.0

下载


On-Off-Switch-Plasmoid

A Configurable On/Off Switch Plasmoid

This is a widely configurable On/Off switch commands plasmoid for KDE fully written in QML. It makes use of QT’s ToggleButton widget in order to implement the functionality.

Feature

  • Click to execute a command/script
  • Command/script on toggle off and toggle on
  • Toggle on startup
  • Watch the state on startup
  • Custom initial state
  • Custom initial state to inactive
  • Extended colorization of QT’s ToggleButton
  • Custom displayed text on enable (on)
  • Custom displayed text on disable (off)
  • Custom displayed text on inactive state
  • Custom tooltip text
  • Custom script on and off
  • Check the execution state of the script on and off
  • Watcher (custom watching command with interval)

Installation

Load the plasmoid file from the package directory into your kde plasma desktop

You may need to install “qtquick-extras” if it’s not already installed
“sudo apt install qml-module-qtquick-extras”

Configuration

The plasmoid can by widely configured via the Settings menu

Captures


































Todo

Apply text change immediately after settings saved