nwg-panel: disable the brightness indicator
This commit is contained in:
parent
1ecc033ff5
commit
a6d268ca72
|
@ -6,7 +6,6 @@
|
|||
# - add CPU/meminfo executor
|
||||
# - use sane-sysinfo
|
||||
# - fix swaync icon
|
||||
# - disable the brightness icon from bar
|
||||
{
|
||||
components,
|
||||
height,
|
||||
|
|
|
@ -70,12 +70,22 @@ in
|
|||
./playerctl-no-prev-next.diff
|
||||
];
|
||||
|
||||
# disable the drop-down chevron by the controls.
|
||||
# it's precious space on moby, doesn't do much to help on lappy either.
|
||||
# - disable the drop-down chevron by the controls.
|
||||
# it's precious space on moby, doesn't do much to help on lappy either.
|
||||
# - disable brightness indicator for same reason.
|
||||
# - *leave* the volume indicator: one *could* remove it, however on desko that would leave the controls pane empty
|
||||
# making the dropdown inaccessible
|
||||
postPatch = (base.postPatch or "") + ''
|
||||
substituteInPlace nwg_panel/modules/controls.py --replace-fail \
|
||||
'box.pack_start(self.pan_image, False, False, 4)' \
|
||||
'# box.pack_start(self.pan_image, False, False, 4)'
|
||||
substituteInPlace nwg_panel/modules/controls.py --replace-fail \
|
||||
'box.pack_start(self.bri_image, False, False, 4)' \
|
||||
'# box.pack_start(self.bri_image, False, False, 4)'
|
||||
|
||||
# substituteInPlace nwg_panel/modules/controls.py --replace-fail \
|
||||
# 'box.pack_start(self.vol_image, False, False, 4)' \
|
||||
# '# box.pack_start(self.vol_image, False, False, 4)'
|
||||
'';
|
||||
|
||||
# XXX(2024/06/13) the bluetooth stuff doesn't cross compile, so disable it
|
||||
|
|
Loading…
Reference in New Issue
Block a user