From 5c3a739b02f3608114896d38f8e36e0e2dfd4355 Mon Sep 17 00:00:00 2001 From: Maximilian Wagner Date: Wed, 18 Jun 2025 12:58:26 +0200 Subject: [PATCH] fixed height shift on multiple monitors --- config | 23 ++++++++++++----------- style.css | 5 +++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/config b/config index aeb4bab..9c94cf2 100644 --- a/config +++ b/config @@ -26,19 +26,20 @@ }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "", - "format-ethernet": "", - "tooltip-format": "{essid} ({signalStrength}%)", - "format-linked": "{ifname} (No IP) ", - "format-disconnected": "⚠", + "format-wifi": "󰀂", + "format-ethernet": "󰛳", + //"tooltip-format": "{essid} ({signalStrength}%)", + "tooltip": false, + "format-linked": "{ifname} (No IP) 󰛳", + "format-disconnected": "󰲜", "format-alt": "{ifname}: {essid}" }, "backlight": { "tooltip": false, "format": " {}%", "interval":1, - "on-scroll-up": "light -A 5", - "on-scroll-down": "light -U 5" + "on-scroll-up": "brightnessctl -q set +5%", + "on-scroll-down": "brightnessctl -q set 5%-" }, "battery": { "states": { @@ -49,7 +50,8 @@ "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", - "format-alt": "{time} {icon}", + "format-alt": "{icon} {time}", + "tooltip": false, "format-icons": ["", "", "", "", ""] }, "tray":{ @@ -57,7 +59,8 @@ "spacing": 10 }, "clock": { - "format": " {:%H:%M 📅 %d.%m.%y}" + "format": " {:%H:%M 📅 %d.%m.%y}", + "tooltip": false }, "cpu": { "interval": 15, @@ -76,8 +79,6 @@ // The code following below is given in the great documentation for Waybar status bar under Useful Utilities in Hyprland wiki "hyrpland/workspaces": { "format": "{icon}", - "on-scroll-up": "hyprctl dispatch workspace e+1", - "on-scroll-down": "hyprctl dispatch workspace e-1", "on-click": "activate" } } diff --git a/style.css b/style.css index c027da8..1f13727 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ border-radius: 8px; font-family: "JetbrainsMono Nerd Font" ; font-size: 16px; - min-height: 3px; + min-height: 0px; margin-top: 0px; margin-left: 2px; padding-left: 4px; @@ -30,6 +30,7 @@ window#waybar.hidden { background: #161320; transition: none; border-radius: 10px; + min-height: 34px; } #workspaces button { @@ -67,7 +68,7 @@ window#waybar.hidden { } #network { - padding-right: 11px; + padding-right: 8px; transition: none; color: #161320; background: #bd93f9;