elementary / wingpanel-indicator-power

Wingpanel Power Indicator
GNU General Public License v3.0
24 stars 15 forks source link

Hide brightness slider on desktop experience #206

Closed andirsun closed 2 years ago

andirsun commented 3 years ago

fixes: #163 We dont need to show the brightness slider if the user is on desktop or if have a laptop displaying only on external display.

Added an smooth transition with a revealer.

jeremypw commented 3 years ago

Need to check whether the widget gets reconstructed if the display set up is changed otherwise dm.brightness will not be retested.

andirsun commented 3 years ago

@jeremypw Every time you display your laptop on docked mode the signal dm.brightness_changed is trigged and new brightness is equal to -1.