Fixes the window title label option (#272)
* fix window title label option not being respected * add window title icon and label side effects * add new line to SideEffects.ts * fix window title children type
This commit is contained in:
@@ -13,3 +13,17 @@ showTime.connect('changed', () => {
|
||||
showIcon.value = true;
|
||||
}
|
||||
});
|
||||
|
||||
const { label, icon } = options.bar.windowtitle;
|
||||
|
||||
label.connect('changed', () => {
|
||||
if (!label.value && !icon.value) {
|
||||
icon.value = true;
|
||||
}
|
||||
});
|
||||
|
||||
icon.connect('changed', () => {
|
||||
if (!label.value && !icon.value) {
|
||||
label.value = true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user