summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-07 13:38:23 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-04-07 13:38:23 +1000
commit4a1a3a6d8915474c2e25f2f1f5e3ec8c84543081 (patch)
tree192042cf1a8066d340a7b9a14071a9cf6d02c7b9 /src/config
parentthumbnailer: fix exact sizing creating background (diff)
downloadcaelestia-shell-4a1a3a6d8915474c2e25f2f1f5e3ec8c84543081.tar.gz
caelestia-shell-4a1a3a6d8915474c2e25f2f1f5e3ec8c84543081.tar.bz2
caelestia-shell-4a1a3a6d8915474c2e25f2f1f5e3ec8c84543081.zip
bar: add optional labels for workspaces
Also can customise labels
Diffstat (limited to 'src/config')
-rw-r--r--src/config/defaults.ts3
-rw-r--r--src/config/types.ts3
2 files changed, 6 insertions, 0 deletions
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