From e9d9ec86a3adf68da9913de9045d8e825fb390ee Mon Sep 17 00:00:00 2001 From: antistereov Date: Sun, 15 Mar 2026 13:09:30 +0100 Subject: [PATCH] feat(waybar): update --- waybar/config.jsonc | 47 ++++++++++++++++++++++++++++++++------------- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 969cacd..66063c3 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -7,7 +7,10 @@ "gtk-layer-shell": true, "passthrough": false, "fixed-center": true, - "modules-left": ["hyprland/workspaces", "hyprland/window"], + "modules-left": [ + "hyprland/workspaces", + "hyprland/window" + ], "modules-right": [ "cpu", "memory", @@ -20,7 +23,7 @@ "battery", "tray", "custom/notification", - "custom/power", + "custom/power" ], "mpris": { "format": "{cover_art} {artist} - {title}", @@ -36,7 +39,7 @@ "window-rewrite": { "class<*>": "󰘔 ", "class": "󰈹 ", - "class": "󰖟 " , + "class": "󰖟 ", "class": " ", "class": "󰅟 ", "class": " ", @@ -44,7 +47,8 @@ "class": " ", "class": " ", "class": " " - } + }, + "window-rewrite-default": " " }, "hyprland/window": { "format": "{title}", @@ -55,7 +59,6 @@ "": " Empty Workspace" } }, - "tray": { "show-passive-items": true, "spacing": 10, @@ -96,18 +99,31 @@ "format-muted": " muted", "format-icons": { "headphone": " ", - "default": [" ", " ", " "], + "default": [ + " ", + " ", + " " + ] }, - "on-click": "pavucontrol", + "on-click": "pavucontrol" }, "battery": { "format": "{icon} {capacity}%", "format-charging": "󱐋{icon} {capacity}%", "format-plugged": "󱐋{icon} {capacity}%", - "format-icons": ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀"], + "format-icons": [ + "󰂎", + "󰁺", + "󰁻", + "󰁼", + "󰁽", + "󰁾", + "󰁿", + "󰂀" + ], "states": { "critical": 15, - "warning": 30, + "warning": 30 }, "events": { "on-discharging-critical": "notify-send -u critical 'Low Battery'" @@ -115,12 +131,12 @@ }, "custom/sep": { "format": "|", - "tooltip": false, + "tooltip": false }, "custom/power": { "tooltip": false, "on-click": "wlogout -p layer-shell &", - "format": "⏻", + "format": "⏻" }, "custom/nowplaying": { "exec": "~/.config/waybar/scripts/nowplaying.sh", @@ -142,7 +158,7 @@ }, "on-click": "sleep 0.1 && swaync-client -t -sw", "return-type": "json", - "tooltip": false, + "tooltip": false }, "custom/weather": { "format": "{}", @@ -161,7 +177,12 @@ "network": { "interface": "wlp1s0", "format": "", - "format-icons": ["󰤟 ", "󰤢 ", "󰤥 ", "󰤨 "], + "format-icons": [ + "󰤟 ", + "󰤢 ", + "󰤥 ", + "󰤨 " + ], "format-wifi": "{icon} {essid}", "format-ethernet": "󰈀 Ethernet", "format-disconnected": "󰤮 Disconnected",