chore(waybar): update config

This commit is contained in:
Andrea 2025-03-04 19:23:00 +01:00
parent 16c1772869
commit 094dc621ea
Signed by: nullndr
GPG Key ID: 8DA8996EF89F33BB
2 changed files with 17 additions and 15 deletions

View File

@ -5,16 +5,16 @@
"position": "bottom",
"margin": "5 5 5 5",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["clock", "idle_inhibitor"],
"modules-center": ["clock"],
"modules-right": [
"custom/pacman",
"custom/recorder",
"privacy",
"memory",
"disk",
"pulseaudio",
"backlight",
"battery",
"disk",
"memory",
"bluetooth",
"network"
],
@ -135,7 +135,7 @@
},
"battery": {
"interval": 3,
"interval": 1,
"tooltip": true,
"states": {
"warning": 30,
@ -144,7 +144,6 @@
"format": "{capacity}% {icon}",
"format-charging": "{capacity}% 󰂄",
"format-plugged": "{capacity}% ",
"format-alt": "{time} {icon}",
"format-icons": ["󰁻", "󰁼", "󰁾", "󰂀", "󰂂", "󰁹"],
"tooltip-format": "{timeTo}\nCapacity: {capacity}\nPower: {power}w\nCycles: {cycles}\nHealth: {health}%",
"on-update": "$HOME/.config/waybar/scripts/check_battery.sh"
@ -154,6 +153,8 @@
"interval": 3,
"tooltip": true,
"format": "{used} ",
"tooltip-format": "{used} used out of {total} on {path} ({percentage_used}%)",
"unit": "GiB",
"path": "/"
},
@ -161,6 +162,7 @@
"interval": 3,
"tooltip": true,
"format": "{used}GiB ",
"tooltip-format": "{used}GiB used out of {total}GiB ({percentage}%)",
"max-length": 10
},

View File

@ -1,4 +1,5 @@
* {
all: initial;
border: none;
border-radius: 0;
min-height: 20px;
@ -26,11 +27,10 @@ tooltip label {
#custom-recorder,
#mode,
#clock,
#privacy,
#idle_inhibitor,
#battery,
#pulseaudio,
#disk,
#privacy,
#memory,
#bluetooth,
#network,
@ -43,31 +43,31 @@ tooltip label {
padding-bottom: 4px;
padding-left: 8px;
padding-right: 8px;
margin: 4px;
margin-right: 4px;
margin-left: 4px;
}
#workspaces {
transition: none;
border-radius: 10px;
background-color: #383c4a;
margin: 4px;
color: #7c818c;
margin-right: 4px;
margin-left: 4px;
}
#workspaces button {
padding: 0;
padding-top: 4px;
padding-bottom: 4px;
padding-left: 8px;
padding-right: 8px;
}
#workspaces button:hover {
border-radius: inherit;
color: white;
background-color: #666768;
}
#workspaces button.focused {
color: white;
}
#bluetooth.connected,
#bluetooth.on {
background-color: #26a65b;