From 4a1a3a6d8915474c2e25f2f1f5e3ec8c84543081 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 7 Apr 2025 13:38:23 +1000 Subject: bar: add optional labels for workspaces Also can customise labels --- src/config/defaults.ts | 3 +++ src/config/types.ts | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src/config') diff --git a/src/config/defaults.ts b/src/config/defaults.ts index f375620..7532d7f 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -46,6 +46,9 @@ export default { modules: { workspaces: { shown: 5, + showLabels: false, + labels: ["󰮯", "󰮯", "󰮯", "󰮯", "󰮯"], + xalign: -1, }, dateTime: { format: "%d/%m/%y %R", diff --git a/src/config/types.ts b/src/config/types.ts index 226b2dd..0a30145 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -34,6 +34,9 @@ export default { "bar.layout.centerbox.end": ARR(barModules), "bar.layout.flowbox": ARR(barModules), "bar.modules.workspaces.shown": NUM, + "bar.modules.workspaces.showLabels": BOOL, + "bar.modules.workspaces.labels": ARR(STR), + "bar.modules.workspaces.xalign": NUM, "bar.modules.dateTime.format": STR, "bar.modules.dateTime.detailedFormat": STR, // Launcher -- cgit v1.2.3-freya