waybar style

This commit is contained in:
thek4n 2026-08-04 11:09:42 +03:00
parent ffa5ebcf92
commit 98008a43a0
2 changed files with 23 additions and 10 deletions

View File

@ -13,7 +13,6 @@
"modules-right": [ "modules-right": [
"custom/wireless", "custom/wireless",
"custom/bluetooth",
"custom/diskroot", "custom/diskroot",
"custom/diskhome", "custom/diskhome",
"memory", "memory",
@ -21,7 +20,8 @@
"custom/cpu_temp", "custom/cpu_temp",
"custom/battery", "custom/battery",
"custom/pomodoro", "custom/pomodoro",
"custom/volume", "custom/bluetooth",
"pulseaudio",
"custom/language", "custom/language",
"custom/userhost", "custom/userhost",
"clock", "clock",
@ -56,7 +56,7 @@
}, },
"cpu": { "cpu": {
"interval": 1, "interval": 1,
"format": "{icons} {usage:>2}% ", "format": "{icon} ",
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"], "format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"],
}, },
"custom/cpu_temp": { "custom/cpu_temp": {
@ -69,11 +69,24 @@
"interval": 5, "interval": 5,
"return-type": "text" "return-type": "text"
}, },
"custom/volume": { "pulseaudio": {
"exec": "~/.config/waybar/scripts/builder.sh volume", "format": "{volume}% {icon}",
"interval": 1, "format-bluetooth": "{volume}% {icon}",
"return-type": "text", "format-muted": "",
"signal": 1 "format-icons": {
"alsa_output.pci-0000_00_1f.3.analog-stereo": "",
"alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "",
"headphone": "",
"hands-free": "󰂑",
"headset": "󰂑",
"phone": "",
"phone-muted": "",
"portable": "",
"car": "",
"default": ["", ""]
},
"scroll-step": 1,
"on-click": "pavucontrol"
}, },
"custom/pomodoro": { "custom/pomodoro": {
"exec": "~/.config/waybar/scripts/builder.sh pomodoro", "exec": "~/.config/waybar/scripts/builder.sh pomodoro",

View File

@ -38,7 +38,7 @@ window#waybar {
#cpu, #cpu,
#custom-cpu_temp, #custom-cpu_temp,
#custom-bluetooth, #custom-bluetooth,
#custom-volume, #pulseaudio,
#custom-pomodoro, #custom-pomodoro,
#custom-language, #custom-language,
#custom-userhost, #custom-userhost,
@ -52,7 +52,7 @@ window#waybar {
color: #64B5F6; color: #64B5F6;
} }
#custom-volume { #pulseaudio {
color: #81C784; color: #81C784;
} }