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
"output": "DP-1", // Only display on on monitor
"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
"modules-left": [
"custom/logo",
@@ -41,7 +41,7 @@
},
"wlr/taskbar": {
"active-first": true,
"icon-size": 24,
"icon-size": 20,
"on-click": "activate",
"on-click-middle": "close",
"app_ids-mapping": {
@@ -58,7 +58,7 @@
}
},
"tray": {
// "icon-size": 21,
"icon-size": 20,
"spacing": 10
},
"clock": {

View File

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