feat: disk space monitor with mako/swaync notifications + waybar indicator #3

Open
Hermes wants to merge 1 commits from feat/disk-monitor into master
Collaborator

Adds a disk monitor that warns you before your disk fills up again.

Three modes:

  • daemon — runs in background, checks every 5 min, sends notify-send warning at 85%, critical alert at 92%
  • waybar — color-coded indicator in your bar (green > normal, orange > warning, red > critical with blink)
  • check — single-shot for manual use

Files changed:

  • waybar/scripts/disk-monitor.sh — the monitoring script (new)
  • hypr/hyprland.confexec-once for daemon autostart
  • waybar/config.jsonc — added custom/disk-monitor module to bar
  • waybar/modules.json — module definition (60s refresh, JSON)
  • waybar/style.css — warning (orange) and critical (red+blink) styles

To deploy after merge:

stow -R waybar hypr
pkill -USR2 waybar

And you'll see a 💾 indicator in your bar that changes color as disk fills up.

Adds a disk monitor that warns you before your disk fills up again. **Three modes:** - **daemon** — runs in background, checks every 5 min, sends `notify-send` warning at 85%, critical alert at 92% - **waybar** — color-coded indicator in your bar (green > normal, orange > warning, red > critical with blink) - **check** — single-shot for manual use **Files changed:** - `waybar/scripts/disk-monitor.sh` — the monitoring script (new) - `hypr/hyprland.conf` — `exec-once` for daemon autostart - `waybar/config.jsonc` — added `custom/disk-monitor` module to bar - `waybar/modules.json` — module definition (60s refresh, JSON) - `waybar/style.css` — warning (orange) and critical (red+blink) styles **To deploy after merge:** ```bash stow -R waybar hypr pkill -USR2 waybar ``` And you'll see a 💾 indicator in your bar that changes color as disk fills up.
Hermes added 1 commit 2026-05-06 14:52:26 +00:00
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)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/disk-monitor:feat/disk-monitor
git checkout feat/disk-monitor
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gortium/dotfiles#3
No description provided.