nwg-panel: disable the brightness indicator
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
# - add CPU/meminfo executor
|
# - add CPU/meminfo executor
|
||||||
# - use sane-sysinfo
|
# - use sane-sysinfo
|
||||||
# - fix swaync icon
|
# - fix swaync icon
|
||||||
# - disable the brightness icon from bar
|
|
||||||
{
|
{
|
||||||
components,
|
components,
|
||||||
height,
|
height,
|
||||||
|
@@ -70,12 +70,22 @@ in
|
|||||||
./playerctl-no-prev-next.diff
|
./playerctl-no-prev-next.diff
|
||||||
];
|
];
|
||||||
|
|
||||||
# disable the drop-down chevron by the controls.
|
# - disable the drop-down chevron by the controls.
|
||||||
# it's precious space on moby, doesn't do much to help on lappy either.
|
# 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 "") + ''
|
postPatch = (base.postPatch or "") + ''
|
||||||
substituteInPlace nwg_panel/modules/controls.py --replace-fail \
|
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)' \
|
||||||
'# 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
|
# XXX(2024/06/13) the bluetooth stuff doesn't cross compile, so disable it
|
||||||
|
Reference in New Issue
Block a user