fixed to minimise the waybar height

This commit is contained in:
danmac
2025-06-26 23:03:38 +09:30
parent 46c48602f6
commit aeeb00aaa9
2 changed files with 6 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
"layer": "top", // Waybar at top layer "layer": "top", // Waybar at top layer
"output": "DP-1", // Only display on on monitor "output": "DP-1", // Only display on on monitor
"position": "top", // Waybar position (top|bottom|left|right) "position": "top", // Waybar position (top|bottom|left|right)
"height": 36, // Waybar height (to be removed for auto height) "height": 28, // Waybar height (to be removed for auto height)
// Choose the order of the modules // Choose the order of the modules
"modules-left": [ "modules-left": [
"custom/logo", "custom/logo",
@@ -41,7 +41,7 @@
}, },
"wlr/taskbar": { "wlr/taskbar": {
"active-first": true, "active-first": true,
"icon-size": 24, "icon-size": 20,
"on-click": "activate", "on-click": "activate",
"on-click-middle": "close", "on-click-middle": "close",
"app_ids-mapping": { "app_ids-mapping": {
@@ -58,7 +58,7 @@
} }
}, },
"tray": { "tray": {
// "icon-size": 21, "icon-size": 20,
"spacing": 10 "spacing": 10
}, },
"clock": { "clock": {

View File

@@ -12,6 +12,7 @@
#waybar { #waybar {
background-color: alpha(@base, 0.7); background-color: alpha(@base, 0.7);
/* background: transparent; */ /* background: transparent; */
margin: 0px;
} }
#custom-logo { #custom-logo {
@@ -19,7 +20,7 @@
background-color: @base; background-color: @base;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 24px; background-size: 40%;
padding: 0px 8px 0px 24px; padding: 0px 8px 0px 24px;
} }
@@ -34,7 +35,7 @@
#custom-pl-pulse, #custom-pl-pulse,
#custom-pl-idle-before, #custom-pl-idle-before,
#custom-pl-tray { #custom-pl-tray {
font-size: 26px; font-size: 21px;
} }
#workspaces *, #workspaces *,