Добавлены анимации при низком заряде, изменён цвет текста

This commit is contained in:
2024-12-05 01:03:30 +04:00
parent 04f236a9fc
commit 00075a19f0
2 changed files with 76 additions and 55 deletions

14
config
View File

@@ -2,11 +2,11 @@
"reload_style_on_change": true,
"layer": "top", // Waybar at top layer
"position": "top", // Waybar at the bottom of your screen
"height": 10, // Waybar height
"height": 20, // Waybar height
// "width": 1366, // Waybar width
// Choose the order of the modules
"modules-left": ["hyprland/workspaces", "hyprland/language"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "tray", "clock", "group/power"],
"modules-left": ["hyprland/workspaces", "tray", "hyprland/language"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "clock", "group/power"],
"modules-center": ["hyprland/window"],
"hyprland/language": {
@@ -25,6 +25,7 @@
"spacing": 10
},
"clock": {
"interval": 5,
"format-alt": "{:%Y-%m-%d}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"calendar": {
@@ -38,7 +39,7 @@
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
}
}
},
"cpu": {
@@ -48,6 +49,7 @@
"format": "{}% "
},
"battery": {
"interval": 5,
"states": {
"good": 90,
"warning": 30,
@@ -61,7 +63,7 @@
"network": {
// "interface": "wlp2s0", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"format-disconnected": "Disconnected ⚠"
},
"pulseaudio": {
@@ -111,7 +113,7 @@
"on-click": "reboot"
},
"custom/power": {
"format": " ",
"format": "  ",
"tooltip": false,
"on-click": "shutdown now"
}