aboutsummaryrefslogtreecommitdiff
path: root/dot-config/waybar/config.jsonc
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-07-24 22:35:41 +0100
committerBlake Romero <blake@blkrom.com>2025-07-24 22:35:41 +0100
commit0638e8adb7c0ce2c123cd7ad9f21c64d49c111dd (patch)
tree969880981e8ce7f116e15a8fab72512426057e91 /dot-config/waybar/config.jsonc
parentf4662f2b58cbf8ed2cbdc49fb52b9e4bfa60d888 (diff)
Add waybar config
Diffstat (limited to 'dot-config/waybar/config.jsonc')
-rw-r--r--dot-config/waybar/config.jsonc122
1 files changed, 122 insertions, 0 deletions
diff --git a/dot-config/waybar/config.jsonc b/dot-config/waybar/config.jsonc
new file mode 100644
index 0000000..390ba25
--- /dev/null
+++ b/dot-config/waybar/config.jsonc
@@ -0,0 +1,122 @@
+// -*- mode: jsonc -*-
+{
+ // "height": 10,
+ "spacing": 20,
+ "reload_style_on_change": true,
+ "modules-left": [ "niri/workspaces" ],
+ "modules-center": [],
+ "modules-right": [
+ "tray",
+ "cpu",
+ "memory",
+ "network",
+ "backlight",
+ "wireplumber",
+ "battery",
+ "clock",
+ "clock#calendar"
+ ],
+
+ // MODULES
+ "niri/workspaces": {
+ "format": "{value}"
+ },
+ "clock": {
+ "format": "{:%R} 󱑊 ",
+ "format-alt": "{:%r} 󱑊 "
+ },
+ "clock#calendar": {
+ "format": "{:%a %d %B}  ",
+ "format-alt": "{:%Y-%m-%d}  ",
+ "tooltip-format": "<tt><small>{calendar}</small></tt>",
+ "calendar": {
+ "mode" : "year",
+ "mode-mon-col" : 3,
+ "weeks-pos" : "right",
+ "on-scroll" : 1,
+ "format": {
+ "months": "<span color='#ffead3'><b>{}</b></span>",
+ "days": "<span color='#ecc6d9'><b>{}</b></span>",
+ "weeks": "<span color='#99ffdd'><b>W{}</b></span>",
+ "weekdays": "<span color='#ffcc66'><b>{}</b></span>",
+ "today": "<span color='#ff6699'><b><u>{}</u></b></span>"
+ }
+ },
+ "actions": {
+ "on-click": "mode"
+ }
+ },
+ "battery": {
+ "interval": 60,
+ "states": {
+ "warning": 20,
+ "critical": 10
+ },
+ "format": "{capacity}% {icon}",
+ "format-alt": "({time}) {capacity}% {icon}",
+ "format-icons": ["󰁺 ","󰁻 ","󰁼 ","󰁽 ","󰁾 ","󰁿 ","󰂀 ","󰂁 ","󰂂 ","󰁹 "]
+ },
+ "wireplumber": {
+ "format": "{volume}% {icon}",
+ "format-muted": " ",
+ "on-click": "pulsemixer",
+ "format-icons": [" ", " ", " "]
+ },
+ "tray": {
+ "icon-size": 21,
+ "spacing": 10,
+ "icons": {
+ "blueman": "bluetooth",
+ "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
+ }
+ },
+ "network": {
+ "format": "{ifname}",
+ "format-wifi": "{essid}  ",
+ "format-ethernet": "{ipaddr}/{cidr} 󰊗 ",
+ "format-disconnected": "", //An empty format will hide the module.
+ "tooltip-format": "{ifname} via {gwaddr} 󰊗 ",
+ "tooltip-format-wifi": "{essid} ({signalStrength}%)  ",
+ "tooltip-format-ethernet": "{ifname} " ,
+ "tooltip-format-disconnected": "Disconnected",
+ "max-length": 100
+ },
+ "memory": {
+ "interval": 30,
+ "format": "{used:0.1f}G  "
+ },
+ "cpu": {
+ "interval": 10,
+ "format": "{}%  ",
+ "max-length": 10
+ },
+ "backlight": {
+ "format": "{percent}% {icon}",
+ "format-icons": ["󱩎 ","󱩏 ","󱩐 ","󱩑 ","󱩒 ","󱩓 ","󱩔 ","󱩕 ","󱩖 ","󰛨 "]
+ },
+
+ // NOT ENABLED
+ "wlr/taskbar": {
+ "format": "{icon}",
+ "icon-size": 14,
+ "icon-theme": "Numix-Circle",
+ "tooltip-format": "{title}",
+ "on-click": "activate",
+ "on-click-middle": "close",
+ "ignore-list": [
+ "Alacritty"
+ ],
+ "app_ids-mapping": {
+ "firefoxdeveloperedition": "firefox-developer-edition"
+ },
+ "rewrite": {
+ "Firefox Web Browser": "Firefox",
+ "Foot Server": "Terminal"
+ }
+ },
+ "pulseaudio/slider": {
+ "min": 0,
+ "max": 100,
+ "orientation": "horizontal"
+ }
+}