Waybar smaller

This commit is contained in:
2025-09-01 00:11:50 +02:00
parent 7eae8fe22c
commit 646b228582
2 changed files with 49 additions and 48 deletions

View File

@@ -1,46 +1,47 @@
{ {
"position": "top", "position": "top",
"modules-left": ["hyprland/workspaces", "hyprland/window"], "height": 0,
"modules-center": ["custom/webdav","clock", "custom/status"], "modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-right": ["tray", "pulseaudio", "backlight", "cpu", "memory", "battery"], "modules-center": ["custom/webdav","clock", "custom/status"],
"clock": { "modules-right": ["tray", "pulseaudio", "backlight", "cpu", "memory", "battery"],
"format": "{:%H:%M}", "clock": {
"format-alt": "{:%d.%m.%Y}", "format": "{:%H:%M}",
"tooltip": false, "format-alt": "{:%d.%m.%Y}",
}, "tooltip": false,
"memory": { },
"interval": 10, "memory": {
"format": "⛃ {}%" "interval": 10,
}, "format": "⛃ {}%"
"cpu": { },
"interval": 7, "cpu": {
"format": "🧠 {usage:2}%" "interval": 7,
}, "format": "🧠 {usage:2}%"
"backlight": { },
"format": "🌥️ {percent}% ", "backlight": {
"tooltip": false, "format": "🌥️ {percent}% ",
}, "tooltip": false,
"hyprland/window": { },
"format": "👉 {}", "hyprland/window": {
"separate-outputs": true, "format": "👉 {}",
}, "separate-outputs": true,
"pulseaudio": { },
"format": "🔉 {volume}%", "pulseaudio": {
"on-click": "pavucontrol", "format": "🔉 {volume}%",
"tooltip": false, "on-click": "pavucontrol",
}, "tooltip": false,
"battery": { },
"interval": 30, "battery": {
"states": { "interval": 30,
"good": 90, "states": {
"warning": 30, "good": 90,
"critical": 20 "warning": 30,
}, "critical": 20
"format": "🔋 {capacity}% ",
"format-charging": "⚡ {capacity}%",
},
"tray": {
"icon-size": 21,
"spacing": 5
}, },
"format": "🔋 {capacity}% ",
"format-charging": "⚡ {capacity}%",
},
"tray": {
"icon-size": 21,
"spacing": 5
},
} }

View File

@@ -1,6 +1,6 @@
* { * {
font-family: 'NotoFont'; font-family: 'NotoFont';
font-size: 12px; font-size: 10px;
font-weight: bold; font-weight: bold;
} }
@@ -21,16 +21,16 @@ button:hover {
} }
#workspaces { #workspaces {
padding: 1px 5px; padding: 1px 2px;
border-radius: 5px; border-radius: 2px;
margin: 2px 5px; margin: 2px 2px;
} }
#workspaces button { #workspaces button {
padding: 0 5px; padding: 0 2px;
background-color: #3e4243; background-color: #3e4243;
color: #ed817d; color: #ed817d;
margin: 1px 3px; margin: 0px 0px;
} }
#workspaces button.active { #workspaces button.active {