summaryrefslogtreecommitdiff
path: root/.config/waybar/config.jsonc
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-07-14 23:01:34 +0530
committerryukamish <[email protected]>2026-07-14 23:01:34 +0530
commit7c822b4689514e497c3a97a10ddadb538ec393ad (patch)
tree03a6ba10f9872cc4084571eacd8ed43ddc5ee4c9 /.config/waybar/config.jsonc
parent7b1dcbef6b6f0d8714a50b83a515dd1e1e7e1523 (diff)
add(module): screen recording indicator module
Diffstat (limited to '.config/waybar/config.jsonc')
-rw-r--r--.config/waybar/config.jsonc17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index 3bf9249..f3a8c0b 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -9,6 +9,7 @@
"sway/workspaces"
],
"modules-right": [
+ "custom/gsr",
"group/tray-group",
"group/brightness-group",
"network",
@@ -157,6 +158,22 @@
"on-click-right": "~/.local/bin/waybar-brightness right_click",
"tooltip-format": "HDMI: {}%"
},
+ "custom/window": {
+ "exec": "~/.local/bin/waybar-window",
+ "exec-if": "~/.local/bin/waybar-window",
+ "format": "<span color='#aaaaaa'>{}</span>",
+ "return-type": "json",
+ "max-length": 60,
+ "tooltip": false,
+ // titles where special characters are present weren't being shown
+ // this solves that
+ "escape": true
+ },
+ "custom/gsr": {
+ "exec": "~/.local/bin/waybar-record",
+ "return-type": "json",
+ "tooltip": false
+ },
// Tray drawer group
"group/tray-group": {
"orientation": "horizontal",