feat: add battery-watch daemon and notification urgency support
- new battery-watch daemon: warnt bei 25% und 15% per dunst-Notification - notify-waybar.sh schreibt jetzt auch Urgency-Level in /tmp - notif-status.sh: neues waybar-Skript mit urgency-CSS-Klasse - hyprland.conf: battery-watch als exec-once, clipboard-bind entfernt - config.jsonc: Brave-Icon hinzugefügt, Battery-Schwellen auf 25/15 korrigiert - generate.py: Font Awesome Brands ergänzt, transition:none für critical-blink - reload.sh: waybar-Start korrigiert (disown als eigene Zeile) - install.sh: startet dunst und battery-watch nach Theme-Load neu
This commit is contained in:
@@ -26,7 +26,7 @@ def rgba(h, a):
|
||||
waybar = f"""/* Generated — edit ~/.active_theme/colors.json */
|
||||
|
||||
* {{
|
||||
font-family: "MesloLGS Nerd Font Mono", "Font Awesome 7 Free", monospace;
|
||||
font-family: "MesloLGS Nerd Font Mono", "Font Awesome 7 Free", "Font Awesome 7 Brands", monospace;
|
||||
font-size: 11px;
|
||||
font-weight: normal;
|
||||
min-height: 0;
|
||||
@@ -130,6 +130,7 @@ window#waybar.bottom {{
|
||||
|
||||
#battery.critical {{
|
||||
color: {pink};
|
||||
transition: none;
|
||||
animation: blink 1s steps(1) infinite;
|
||||
}}
|
||||
|
||||
|
||||
@@ -13,7 +13,8 @@ ln -sf ~/.cache/wal/wofi-style.css ~/.config/wofi/style.css
|
||||
bash ~/.cache/wal/hypr-apply.sh
|
||||
|
||||
# Restart waybar
|
||||
pkill waybar; sleep 0.3; waybar &disown
|
||||
pkill waybar; sleep 0.3; waybar > /dev/null 2>&1 &
|
||||
disown
|
||||
|
||||
# Switch wallpaper only if it changed
|
||||
WALLPAPER=$(cat ~/.cache/wal/wallpaper 2>/dev/null)
|
||||
|
||||
Reference in New Issue
Block a user