SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

[Feature] Run update-command on buttons-grid/menu/buttons state change

Open hugeblank opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. powerprofilesctl defines 3 power profiles. My plan was to put 3 toggle buttons in the control center that update based on which mode is selected via powerprofilesctl get. It partially works, but when choosing an option multiple buttons appear selected due to it not running the update-command. I have to close and reopen the control center to see the change reflected properly.

Describe the solution you'd like I'd like either: a) the update command to be run when the buttons state changes b) a multi-state toggle widget of some kind that allows switching between one of multiple different modes.

option b in particular could be very useful (if properly implemented) not only for what I want, but also for things like joining wifi networks, pairing with bluetooth devices, picking input and output sound devices, all from within the control center

hugeblank avatar Aug 30 '24 03:08 hugeblank

Oh, I need this functionality too, I also wanted to do powerprofilesctl control

fiersik avatar Oct 19 '25 20:10 fiersik