Update Hyprland config for Matugen and untrack generated files.

This commit is contained in:
trey committed 2026-11-23 20:09:57 -05:00
1 parent 60fe219ff7
commit 16cf5e0c2e
10 files changed
+47 -55

No files matched your search

+5 -5
View File
@@ -14,15 +14,15 @@ if [[ "$(charging_status)" == "Charging" ]] && \
[[ -f /run/user/${UID}/battery_low ]]; then
logger "Power reconnected and above 5 percent, clearing nofication state."
rm /run/user/${UID}/battery_low
for id in $(dunstctl history | jq '.data[0][] | select(.summary.data == "LOW BATTERY!")| .id.data' \
| tee /tmp/dunst_history.json); do
dunstify --close=${id}
done
notify-send --urgency=normal \
--icon=/usr/share/icons/breeze-dark/emblems/16/emblem-information.svg \
'Battery Charging' \
'Power connected. Battery level is rising.'
elif [[ "$(charging_status)" == "Discharging" ]] && \
[[ $(battery_percentage) -le 5 ]] && \
[[ ! ( -f /run/user/${UID}/battery_low ) ]] ; then
logger "Low power! Triggering notification...."
dunstify --urgency=critical \
notify-send --urgency=critical \
--icon=/usr/share/icons/breeze-dark/emblems/16/emblem-warning.svg \
'LOW BATTERY!' \
'Battery level is low, plug power quick!'