summaryrefslogtreecommitdiff
path: root/waybar/config.jsonc
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-04-11 23:13:59 +0530
committerryukamish <[email protected]>2026-04-11 23:13:59 +0530
commit909a6da9cf342ccc4d1eef0dbdb12b56d211fafe (patch)
tree3a88ca28ff8f5cfc7b24d194ac1a84f6214d0010 /waybar/config.jsonc
parent7486374c3679c85ebf7670c7976e607d1509be1b (diff)
add: visual indicators with uptime module
Diffstat (limited to 'waybar/config.jsonc')
-rw-r--r--waybar/config.jsonc18
1 files changed, 13 insertions, 5 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
index abae8c3..80462d7 100644
--- a/waybar/config.jsonc
+++ b/waybar/config.jsonc
@@ -4,10 +4,12 @@
"modules-left": [
"clock",
"custom/screenrecording-indicator",
- "niri/window"
+ "niri/window",
+ "custom/uptime"
],
"modules-center": [
- "custom/workspaces"
+ "custom/workspaces",
+ "niri/workspaces"
],
"modules-right": [
"tray",
@@ -20,11 +22,11 @@
],
"niri/workspaces": {
"current-only": true,
- "format": "{icon}",
- "all-outputs": false // usually keep false so each monitor shows its own active workspace
+ "format": "{value}"
},
"niri/window": {
- "format": "{app_id}"
+ "format": "{app_id} | {title}",
+ "max-length": 30
},
"clock": {
"format": "{:%a, %b %d %H:%M}"
@@ -118,5 +120,11 @@
"exec": "~/.config/waybar/waybar-screenrecord",
"signal": 8,
"return-type": "json"
+ },
+ "custom/uptime": {
+ "format": "{}",
+ "interval": 1600,
+ "tooltip": false,
+ "exec": "~/.config/waybar/uptime"
}
}