On/Off Switch is a simple plasmoid that executes commands when the switch is toggled.
I wrote it change the cpufreq governor from powersave to
On-Command: solid-powermanagement set cpufreq performance
Off-Command: solid-powermanagement set cpufreq powersave
The switch image (on_off_switch.svg) and a few lines of code
were taken from toggle-compositing 0.2.3 by John Varouhakis.
Contact me/Report bugs at email@example.com .
7 years ago
Switch can now have a name ("Label").
It is displayed in the tooltip when the
mouse hovers over the applet.
Improvements in the configuration dialog.
based on toggle-compositing 0.2.3
by John Varouhakis