Network module rework (#48)

* Fixes #45 - Reworked the network module to be more responsive and added ssid truncation configuration.

* Added truncation options in the defaults.
This commit is contained in:
Jas Singh
2024-07-30 21:51:36 -07:00
committed by GitHub
parent 26f61ed513
commit aae22bef5e
4 changed files with 47 additions and 50 deletions

View File

@@ -51,6 +51,8 @@ export const BarSettings = () => {
Header('Network'),
Option({ opt: options.bar.network.label, title: 'Show Network Name', type: 'boolean' }),
Option({ opt: options.bar.network.truncation, title: 'Truncate Network Name', subtitle: 'Will truncate the network name to the specified size below.', type: 'boolean' }),
Option({ opt: options.bar.network.truncation_size, title: 'Truncation Size', type: 'number' }),
Option({ opt: options.theme.bar.buttons.network.spacing, title: 'Inner Spacing', subtitle: 'Spacing between the icon and the label inside the buttons.', type: 'string' }),
Header('Bluetooth'),