fixed height shift on multiple monitors

This commit is contained in:
Maximilian Wagner
2025-06-18 12:58:26 +02:00
parent 4bb4222233
commit 5c3a739b02
2 changed files with 15 additions and 13 deletions

23
config
View File

@@ -26,19 +26,20 @@
}, },
"network": { "network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface // "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "", "format-wifi": "󰀂",
"format-ethernet": "", "format-ethernet": "󰛳",
"tooltip-format": "{essid} ({signalStrength}%)", //"tooltip-format": "{essid} ({signalStrength}%)",
"format-linked": "{ifname} (No IP) ", "tooltip": false,
"format-disconnected": "⚠", "format-linked": "{ifname} (No IP) 󰛳",
"format-disconnected": "󰲜",
"format-alt": "{ifname}: {essid}" "format-alt": "{ifname}: {essid}"
}, },
"backlight": { "backlight": {
"tooltip": false, "tooltip": false,
"format": " {}%", "format": " {}%",
"interval":1, "interval":1,
"on-scroll-up": "light -A 5", "on-scroll-up": "brightnessctl -q set +5%",
"on-scroll-down": "light -U 5" "on-scroll-down": "brightnessctl -q set 5%-"
}, },
"battery": { "battery": {
"states": { "states": {
@@ -49,7 +50,8 @@
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-charging": " {capacity}%", "format-charging": " {capacity}%",
"format-plugged": " {capacity}%", "format-plugged": " {capacity}%",
"format-alt": "{time} {icon}", "format-alt": "{icon} {time}",
"tooltip": false,
"format-icons": ["", "", "", "", ""] "format-icons": ["", "", "", "", ""]
}, },
"tray":{ "tray":{
@@ -57,7 +59,8 @@
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {
"format": " {:%H:%M 📅 %d.%m.%y}" "format": " {:%H:%M 📅 %d.%m.%y}",
"tooltip": false
}, },
"cpu": { "cpu": {
"interval": 15, "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 // The code following below is given in the great documentation for Waybar status bar under Useful Utilities in Hyprland wiki
"hyrpland/workspaces": { "hyrpland/workspaces": {
"format": "{icon}", "format": "{icon}",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"on-click": "activate" "on-click": "activate"
} }
} }

View File

@@ -3,7 +3,7 @@
border-radius: 8px; border-radius: 8px;
font-family: "JetbrainsMono Nerd Font" ; font-family: "JetbrainsMono Nerd Font" ;
font-size: 16px; font-size: 16px;
min-height: 3px; min-height: 0px;
margin-top: 0px; margin-top: 0px;
margin-left: 2px; margin-left: 2px;
padding-left: 4px; padding-left: 4px;
@@ -30,6 +30,7 @@ window#waybar.hidden {
background: #161320; background: #161320;
transition: none; transition: none;
border-radius: 10px; border-radius: 10px;
min-height: 34px;
} }
#workspaces button { #workspaces button {
@@ -67,7 +68,7 @@ window#waybar.hidden {
} }
#network { #network {
padding-right: 11px; padding-right: 8px;
transition: none; transition: none;
color: #161320; color: #161320;
background: #bd93f9; background: #bd93f9;