feat: allow custom icons on custom modules (#351)

* feat: allow custom icons on custom modules

* Update options.ts

* Update customModules/config.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
Rubin Bhandari
2024-10-22 13:39:15 +05:45
committed by GitHub
parent 3bc8c0d2e1
commit 7c06b3e0f0
6 changed files with 30 additions and 36 deletions

5
lib/types/bar.d.ts vendored
View File

@@ -36,12 +36,7 @@ export type Module = {
export type ResourceLabelType = 'used/total' | 'used' | 'percentage' | 'free';
export type StorageIcon = '󰋊' | '' | '󱛟' | '' | '' | '';
export type NetstatIcon = '󰖟' | '󰇚' | '󰕒' | '󰛳' | '' | '󰣺' | '󰖩' | '' | '󰈀';
export type NetstatLabelType = 'full' | 'in' | 'out';
export type RateUnit = 'GiB' | 'MiB' | 'KiB' | 'auto';
export type UpdatesIcon = '󰚰' | '󰇚' | '' | '󱑢' | '󱑣' | '󰏖' | '' | '󰏔' | '󰏗';
export type PowerIcon = '' | '' | '󰍃' | '󰿅' | '󰒲' | '󰤄';