Added the ability to enable dynamic network icons for netstat module. (#376)

This commit is contained in:
Jas Singh
2024-10-26 17:21:27 -07:00
committed by GitHub
parent c1bbb11b86
commit 86ff27fd3e
5 changed files with 27 additions and 12 deletions

View File

@@ -231,6 +231,12 @@ export const CustomModuleSettings = (): Scrollable<GtkWidget, Attribute> =>
"Name of the network interface to poll.\nHINT: Get list of interfaces with 'cat /proc/net/dev'",
type: 'string',
}),
Option({
opt: options.bar.customModules.netstat.dynamicIcon,
title: 'Use Network Icon',
subtitle: 'If enabled, shows the current network icon indicators instead of the static icon',
type: 'boolean',
}),
Option({
opt: options.bar.customModules.netstat.icon,
title: 'Netstat Icon',