* Implement matugen - WIP * Added matugen * Add types and cleanup code * Matugen implementation updates and added more options such as scheme and contrast. * Code cleanup and matugen settings renamed for clarity. * Makon maroon a primary matugen color. * Updates to handle variations of matugen colors * Finalizing matugen and wrapping up variations. * Minor styling updates of the settings dialog. * Do a swww dependency check. * Dependency logic update * Switch shouldn't double trigger notifications now when checking dependency. * Logic was inverted * Add matugen to dependency checker. * Fixed dependency checking conditional * Update dependency list in readme and check for matugen before doing matugen operations * Styling fixes * OSD Fix * Remove unused code from wallpaper service. * Color fixes for matugen. * Nix updates for new dependencies * Change default wallpaper to empty. * Added custom notification service for startup, cleaned up code and updated readme.
26 lines
629 B
TypeScript
26 lines
629 B
TypeScript
import options from "options";
|
|
|
|
const { show_numbered, show_icons } = options.bar.workspaces;
|
|
const { monochrome: monoBar } = options.theme.bar.buttons;
|
|
const { monochrome: monoMenu } = options.theme.bar.menus;
|
|
const { matugen } = options.theme;
|
|
|
|
show_numbered.connect("changed", ({ value }) => {
|
|
if (value === true) {
|
|
show_icons.value = false;
|
|
}
|
|
})
|
|
|
|
show_icons.connect("changed", ({ value }) => {
|
|
if (value === true) {
|
|
show_numbered.value = false;
|
|
}
|
|
})
|
|
|
|
matugen.connect("changed", ({ value }) => {
|
|
if (value === true) {
|
|
monoBar.value = false;
|
|
monoMenu.value = false;
|
|
}
|
|
})
|