refactor: removed waybar animations and replaced them with transitions, text color and underline to reduce cpu usage and annoyance

This commit is contained in:
2025-09-28 00:29:08 +03:00
parent e2428035ca
commit 35010095bf
2 changed files with 43 additions and 37 deletions

View File

@@ -16,6 +16,7 @@
"modules-right": [
"pulseaudio",
"network",
"cpu",
"memory",
"battery",
"tray",
@@ -59,7 +60,7 @@
"7": "七",
"8": "八",
"9": "九",
"10": "",
"10": "",
"11": "一",
"12": "十",
"default": "",
@@ -140,12 +141,12 @@
}
},
"cpu": {
"format": "{usage}% ",
"format": "{usage} 󰒔",
"tooltip": false,
"interval": 3
},
"memory": {
"format": "{}% 󱤓",
"format": "{} 󰐤",
"interval": 3
},
"temperature": {
@@ -158,7 +159,7 @@
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format": "{percent} {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
@@ -167,14 +168,14 @@
"warning": 30,
"critical": 18
},
"format": "{capacity}% {icon}",
"format-full": "{capacity}% {icon}",
"format-charging": "{capacity}% ",
"format-plugged": "{capacity}% ",
"format": "{capacity} {icon}",
"format-full": "{capacity} {icon}",
"format-charging": "{capacity}",
"format-plugged": "{capacity} ",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
"format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
@@ -192,21 +193,21 @@
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{signalStrength}% ",
"format-wifi": "{signalStrength}",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{essid} {ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-disconnected": "",
"on-click": "hyprctl dispatch exec, [float; move center] kitty -e nmtui"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{format_source} {volume}% {icon}",
"format-bluetooth": "{format_source} {volume}% {icon}",
"format-bluetooth-muted": "{format_source}  {icon}",
"format": "{format_source}{volume} {icon}",
"format-bluetooth": "{format_source}{volume} 󰂰",
"format-bluetooth-muted": "{format_source} 󰂲",
"format-muted": "{format_source} 󰖁",
"format-source": "",
"format-source-muted": "  ",
"format-source-muted": " ",
"format-icons": {
"headphone": "",
//"hands-free": "",