about summary refs log tree commit diff
path: root/users/tazjin/dotfiles/waybar/config.jsonc
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-09-05T22·00+0300
committerclbot <clbot@tvl.fyi>2024-09-05T22·11+0000
commit72bdb15958c5ae9abf24e3a66192867fabdbe11e (patch)
treeaa8c78350857a64a098f38644f58e794c6aa9755 /users/tazjin/dotfiles/waybar/config.jsonc
parent730d1cc77be5286b4fb62bc11c5a9f5d5d43dd25 (diff)
feat(tazjin/dotfiles): add waybar configuration r/8656
This configuration is not automatically placed anywhere yet, because I'm also
still actively iterating on it.

Change-Id: I0a13fcbc2b9a5587480f6a69a73ab99b36d209e6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12435
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users/tazjin/dotfiles/waybar/config.jsonc')
-rw-r--r--users/tazjin/dotfiles/waybar/config.jsonc29
1 files changed, 29 insertions, 0 deletions
diff --git a/users/tazjin/dotfiles/waybar/config.jsonc b/users/tazjin/dotfiles/waybar/config.jsonc
new file mode 100644
index 000000000000..6d3dbadb4511
--- /dev/null
+++ b/users/tazjin/dotfiles/waybar/config.jsonc
@@ -0,0 +1,29 @@
+// TODO: idle-inhibitor? image (tux?)?
+{
+  "layer": "top",
+  "position": "bottom",
+  "modules-right": ["pulseaudio", "backlight", "battery", "tray", "clock"],
+  "pulseaudio": {
+    "on-click": "pavucontrol",
+    // Font "Awesome" speaker icons can't be made to render, I don't care why, emoji time.
+    "format": "{volume}% 🎧",
+    "format-muted": "{volume}% "
+  },
+  "battery": {
+	"format": "{capacity}% {icon}",
+    "format-icons": ["", "", "", "", ""]
+  },
+  "backlight": {
+    "format": "{percent}% {icon}",
+    "format-icons": [""],
+    "on-scroll-up": "light -A 1",
+    "on-scroll-down": "light -U 1"
+  },
+  "clock": {
+	"format-alt": "{:%a, %d. %b  %H:%M}"
+  },
+  "tray": {
+    "icon-size": 20,
+    "spacing": 10
+  }
+}