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:
@@ -20,6 +20,7 @@ import {
|
||||
} from 'lib/types/options';
|
||||
import { MatugenScheme, MatugenTheme, MatugenVariations } from 'lib/types/options';
|
||||
import { UnitType } from 'lib/types/weather';
|
||||
import { WorkspaceIcons, WorkspaceIconsColored } from 'lib/types/workspace';
|
||||
|
||||
// WARN: CHANGING THESE VALUES WILL PREVENT MATUGEN COLOR GENERATION FOR THE CHANGED VALUE
|
||||
export const colors = {
|
||||
@@ -191,6 +192,7 @@ const options = mkOptions(OPTIONS, {
|
||||
numbered_active_highlighted_text_color: opt(colors.mantle),
|
||||
numbered_active_underline_color: opt(colors.pink),
|
||||
spacing: opt('0.5em'),
|
||||
fontSize: opt('1.2em'),
|
||||
},
|
||||
windowtitle: {
|
||||
background: opt(colors.base2),
|
||||
@@ -810,12 +812,14 @@ const options = mkOptions(OPTIONS, {
|
||||
workspaces: {
|
||||
show_icons: opt(false),
|
||||
show_numbered: opt(false),
|
||||
showWsIcons: opt(false),
|
||||
numbered_active_indicator: opt<ActiveWsIndicator>('underline'),
|
||||
icons: {
|
||||
available: opt(''),
|
||||
active: opt(''),
|
||||
occupied: opt(''),
|
||||
},
|
||||
workspaceIconMap: opt<WorkspaceIcons | WorkspaceIconsColored>({}),
|
||||
workspaces: opt(10),
|
||||
spacing: opt(1),
|
||||
monitorSpecific: opt(true),
|
||||
|
||||
Reference in New Issue
Block a user