Added the ability to define custom icons for the system tray. (#408)
* Added the ability to define custom icons for the system tray. * Add placeholder icon if icon is not defined. * Update themes
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
WindowLayer,
|
||||
} from 'lib/types/options';
|
||||
import { MatugenScheme, MatugenTheme, MatugenVariations } from 'lib/types/options';
|
||||
import { SystrayIconMap } from 'lib/types/systray';
|
||||
import { UnitType } from 'lib/types/weather';
|
||||
import { Transition } from 'lib/types/widget';
|
||||
import { ApplicationIcons, WorkspaceIcons, WorkspaceIconsColored } from 'lib/types/workspace';
|
||||
@@ -242,6 +243,7 @@ const options = mkOptions(OPTIONS, {
|
||||
},
|
||||
systray: {
|
||||
enableBorder: opt(false),
|
||||
customIcon: opt(colors.text),
|
||||
border: opt(colors.lavender),
|
||||
background: opt(colors.base2),
|
||||
spacing: opt('0.5em'),
|
||||
@@ -923,6 +925,7 @@ const options = mkOptions(OPTIONS, {
|
||||
},
|
||||
systray: {
|
||||
ignore: opt<string[]>([]),
|
||||
customIcons: opt<SystrayIconMap>({}),
|
||||
},
|
||||
clock: {
|
||||
icon: opt(''),
|
||||
|
||||
Reference in New Issue
Block a user