Thierry Pouplier
|
436d0abf80
|
feat: disk space monitor with desktop notifications + waybar indicator
Adds a disk monitor script that warns via notify-send (swaync) when disk
usage exceeds 85% (warning) or 92% (critical), and shows a color-coded
indicator in the waybar.
Changes:
- waybar/scripts/disk-monitor.sh — monitoring script with 3 modes:
* daemon: background check every 5 min, sends desktop notifications
* waybar: one-shot JSON for waybar custom module
* check: single check for manual use
- hyprland.conf — exec-once for daemon mode (runs on login)
- config.jsonc — added custom/disk-monitor to modules-right
- modules.json — custom module definition (60s refresh, color-coded)
- style.css — normal/warning/critical styles with blink animation
Usage:
Normal: shows 💾 / 45% (green)
Warning: 🟡 / 85% (orange)
Critical: 🔴 / 92% (red, blinking)
|
2026-05-06 14:52:10 +00:00 |
|