summaryrefslogtreecommitdiff
path: root/waybar/config.jsonc
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-04-11 18:26:09 +0530
committerryukamish <[email protected]>2026-04-11 18:26:09 +0530
commitea10292e2c04efff760b2a55db00d0f03fd59a72 (patch)
treeeebf2e5f4edfa6778342c3eb689899262e3ab304 /waybar/config.jsonc
parentb3474e85dcce03e7de0b4a4e30ff7fad1f38ee26 (diff)
add: module indicator for screen recording
Diffstat (limited to 'waybar/config.jsonc')
-rw-r--r--waybar/config.jsonc10
1 files changed, 8 insertions, 2 deletions
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
index 4345162..25616c3 100644
--- a/waybar/config.jsonc
+++ b/waybar/config.jsonc
@@ -3,6 +3,7 @@
"position": "top",
"modules-left": [
"clock",
+ "custom/screenrecording-indicator",
"niri/window"
],
"modules-center": [
@@ -26,8 +27,7 @@
"format": "{app_id}"
},
"clock": {
- "format": "{:%a, %b %d %H:%M}",
- "format-alt": "{:%Y-%m-%d}"
+ "format": "{:%a, %b %d %H:%M}"
},
"memory": {
"format": " {used}GiB"
@@ -112,5 +112,11 @@
"on-scroll-down": "~/.config/waybar/brightness down",
"on-click": "~/.config/waybar/brightness left_click",
"on-click-right": "~/.config/waybar/brightness right_click"
+ },
+ "custom/screenrecording-indicator": {
+ "on-click": "~/.config/waybar/screenrecord",
+ "exec": "~/.config/waybar/waybar-screenrecord",
+ "signal": 8,
+ "return-type": "json"
}
}