feat: no update w/ autohide option & add option to swap netstat icon … (#591)
* feat: no update w/ autohide option & add option to swap netstat icon for up/down links * Update src/scss/style/bar/bar.scss * Update src/components/bar/shared/Module.tsx * Update src/components/bar/settings/config.tsx * Update src/options.ts * Apply suggestions from code review * move visibilty to updatesIcon func --------- Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
This commit is contained in:
@@ -1072,6 +1072,8 @@ const options = mkOptions(CONFIG, {
|
||||
networkInterface: opt(''),
|
||||
dynamicIcon: opt(false),
|
||||
icon: opt(''),
|
||||
networkInLabel: opt('↓'),
|
||||
networkOutLabel: opt('↑'),
|
||||
round: opt(true),
|
||||
labelType: opt<NetstatLabelType>('full'),
|
||||
rateUnit: opt<RateUnit>('auto'),
|
||||
@@ -1094,6 +1096,7 @@ const options = mkOptions(CONFIG, {
|
||||
updateCommand: opt(`${SRC_DIR}/scripts/checkUpdates.sh -arch`),
|
||||
label: opt(true),
|
||||
padZero: opt(true),
|
||||
autoHide: opt(false),
|
||||
icon: {
|
||||
pending: opt(''),
|
||||
updated: opt(''),
|
||||
|
||||
Reference in New Issue
Block a user