waybar: notebook

This commit is contained in:
timoxa0 2025-01-01 15:52:03 +05:00
parent e2dd30c01f
commit dbd42c914a
2 changed files with 21 additions and 6 deletions

View file

@ -74,7 +74,7 @@ window#waybar {
#backlight, #wireplumber, #wireplumber.muted { #backlight, #wireplumber, #wireplumber.muted {
padding: 0px 10px; padding: 0px 10px;
min-width: 55px; min-width: 55px
} }
#wireplumber.muted { #wireplumber.muted {
color: @error; color: @error;

View file

@ -1,22 +1,24 @@
{ {
"position": "bottom", "position": "bottom",
"height": 36, "height": 36,
"width": 1200, "width": 1500,
"spacing": 0, "spacing": 0,
"margin-top": -20, "margin-top": -22,
"margin-bottom": 5, "margin-bottom": 5,
"layer": "top", "layer": "top",
"modules-left": [ "modules-left": [
"tray", "tray",
"cpu",
"memory",
"custom/spotify" "custom/spotify"
], ],
"modules-center": [ "modules-center": [
"hyprland/workspaces" "hyprland/workspaces"
], ],
"modules-right": [ "modules-right": [
"cpu", "backlight",
"memory",
"wireplumber", "wireplumber",
"battery",
"hyprland/language", "hyprland/language",
"clock" "clock"
], ],
@ -66,10 +68,23 @@
}, },
"memory": { "memory": {
"interval": 1, "interval": 1,
"format": " {used:0.1f}G" "format": " {used:0.1f}G",
"on-click": "missioncenter"
}, },
"cpu": { "cpu": {
"interval": 1, "interval": 1,
"format": " {usage}%" "format": " {usage}%"
},
"battery": {
"bat": "BAT0",
"interval": 1,
"format-charging": " {capacity}%",
"format": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""]
},
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": [""]
} }
} }