Updated waybar for laptop
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"layer": "top", // Waybar at top layer
|
"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)
|
"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",
|
||||||
@@ -42,7 +42,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": {
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
// "icon-size": 21,
|
"icon-size": 20,
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
"on-click-right": "exec wezterm -e btm"
|
"on-click-right": "exec wezterm -e btm"
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "{percentage}% / {used:0.1f}GiB ",
|
"format": "{percentage}% ",
|
||||||
"on-click-right": "exec wezterm -e btm"
|
"on-click-right": "exec wezterm -e btm"
|
||||||
},
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
},
|
},
|
||||||
"format": "{capacity}% {icon}",
|
"format": "{capacity}% {icon}",
|
||||||
"format-charging": "{capacity}% ",
|
"format-charging": "{capacity}% ",
|
||||||
"format-plugged": "{capacity}% ",
|
"format-plugged": "",
|
||||||
"format-alt": "{capacity}% {time}",
|
"format-alt": "{capacity}% {time}",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces *,
|
#workspaces *,
|
||||||
@@ -43,8 +44,8 @@
|
|||||||
#clock,
|
#clock,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
#cpu,
|
#cpu,
|
||||||
#battery,
|
|
||||||
#memory,
|
#memory,
|
||||||
|
#battery,
|
||||||
#temperature,
|
#temperature,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#custom-power,
|
#custom-power,
|
||||||
|
|||||||
Reference in New Issue
Block a user