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": {
// "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"
}
}

View File

@@ -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;