Implement custom icons per workspace. (#261)
* Implement custom icons per workspace. * Finish custom workspace icon implementation * Remove unsupported color definition.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import options from 'options';
|
||||
|
||||
const { show_numbered, show_icons } = options.bar.workspaces;
|
||||
const { show_numbered, show_icons, showWsIcons } = options.bar.workspaces;
|
||||
const { monochrome: monoBar } = options.theme.bar.buttons;
|
||||
const { monochrome: monoMenu } = options.theme.bar.menus;
|
||||
const { matugen } = options.theme;
|
||||
@@ -8,12 +8,21 @@ const { matugen } = options.theme;
|
||||
show_numbered.connect('changed', ({ value }) => {
|
||||
if (value === true) {
|
||||
show_icons.value = false;
|
||||
showWsIcons.value = false;
|
||||
}
|
||||
});
|
||||
|
||||
show_icons.connect('changed', ({ value }) => {
|
||||
if (value === true) {
|
||||
show_numbered.value = false;
|
||||
showWsIcons.value = false;
|
||||
}
|
||||
});
|
||||
|
||||
showWsIcons.connect('changed', ({ value }) => {
|
||||
if (value === true) {
|
||||
show_numbered.value = false;
|
||||
show_icons.value = false;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user