Updated waybar for laptop

This commit is contained in:
2025-07-03 01:37:22 +09:30
parent 0f8709784a
commit 86c7d6f997
2 changed files with 10 additions and 9 deletions

View File

@@ -1,8 +1,8 @@
{
"layer": "top", // Waybar at top layer
"output": ["eDP-1", "DP-1"], // Only display on on monitor
"output": ["DP-1", "eDP-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",
@@ -42,7 +42,7 @@
},
"wlr/taskbar": {
"active-first": true,
"icon-size": 24,
"icon-size": 20,
"on-click": "activate",
"on-click-middle": "close",
"app_ids-mapping": {
@@ -59,7 +59,7 @@
}
},
"tray": {
// "icon-size": 21,
"icon-size": 20,
"spacing": 10
},
"clock": {
@@ -92,7 +92,7 @@
"on-click-right": "exec wezterm -e btm"
},
"memory": {
"format": "{percentage}% / {used:0.1f}GiB ",
"format": "{percentage}% ",
"on-click-right": "exec wezterm -e btm"
},
"temperature": {
@@ -118,7 +118,7 @@
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󱐋",
"format-plugged": "{capacity}% ",
"format-plugged": "",
"format-alt": "{capacity}% {time}",
"format-icons": ["", "", "", "", ""]
},

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: 24px;
}
#workspaces *,
@@ -43,8 +44,8 @@
#clock,
#idle_inhibitor,
#cpu,
#battery,
#memory,
#battery,
#temperature,
#pulseaudio,
#custom-power,