Added the ability to enable dynamic network icons for netstat module. (#376)
This commit is contained in:
3
lib/types/bar.d.ts
vendored
3
lib/types/bar.d.ts
vendored
@@ -22,6 +22,7 @@ export type LabelHook = (self: Label<Gtk.Widget>) => void;
|
||||
export type Module = {
|
||||
icon?: string | Binding<string>;
|
||||
textIcon?: string | Binding<string>;
|
||||
useTextIcon?: Binding<boolean>;
|
||||
label?: string | Binding<string>;
|
||||
labelHook?: LabelHook;
|
||||
boundLabel?: string;
|
||||
@@ -38,5 +39,3 @@ export type ResourceLabelType = 'used/total' | 'used' | 'percentage' | 'free';
|
||||
|
||||
export type NetstatLabelType = 'full' | 'in' | 'out';
|
||||
export type RateUnit = 'GiB' | 'MiB' | 'KiB' | 'auto';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user