commit 7c822b4689514e497c3a97a10ddadb538ec393ad
parent 7b1dcbef6b6f0d8714a50b83a515dd1e1e7e1523
Author: ryukamish <[email protected]>
Date: Tue, 14 Jul 2026 23:01:34 +0530
add(module): screen recording indicator module
Diffstat:
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git 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",
diff --git a/.local/bin/waybar-record b/.local/bin/waybar-record
Binary files differ.