the return of hypermac

This commit is contained in:
beanigen 2025-03-03 14:48:08 +08:00
parent d11bfc67ec
commit f5f2fa95d4
No known key found for this signature in database
6 changed files with 270 additions and 4 deletions

View file

@ -9,7 +9,7 @@
"position": "top",
"modules-center": ["group/mpdg"],
"modules-left": ["group/dtray"],
"modules-right": ["battery", "battery#bat1", "battery#bat2", "clock", "group/audio"],
"modules-right": ["disk", "battery", "battery#bat1", "battery#bat2", "clock", "group/audio", "cpu"],
"cava": {
"method": "pipewire",
"format-icons" : ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
@ -19,9 +19,16 @@
"hide_on_silence": true,
"input_delay": 1,
"autosens": 0,
"noise_reduction": 0.5,
"sensitivity": 13,
},
"disk": {
"format": " {free} {path}",
},
"cpu": {
"format": " {usage}% {max_frequency}GHz",
"states": { "highcpu": 85 },
},
"group/dtray": {
"orientation": "inherit",
"drawer": {
@ -32,7 +39,8 @@
},
"group/audio": {
"orientation": "inherit",
"modules": ["wireplumber", "cava"]
"modules": ["wireplumber", "cava"],
"on-click": "pavucontrol",
},
"group/mpdg": {
"orientation": "inherit",
@ -67,6 +75,8 @@
},
"wireplumber": {
"on-click": "pavucontrol",
"format": "󰓃 {volume}%",
"format-muted": "󰓄 {volume}%",
},
"mpd": {
"on-click": "mpc toggle",

View file

@ -37,7 +37,9 @@ window#waybar {
#clock,
#audio,
#mpd,
#battery {
#battery,
#cpu,
#disk {
padding: 5px;
border-radius: 10px;
border: 0.2em solid #cba6f7;
@ -95,3 +97,6 @@ window#waybar {
margin-left: 0.2em;
color: @mauve;
}
#cpu.highcpu {
background: @mauve;
}