diff options
Diffstat (limited to 'dotfiles/hyprland/.local/bin/waybar-disk')
| -rwxr-xr-x | dotfiles/hyprland/.local/bin/waybar-disk | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/dotfiles/hyprland/.local/bin/waybar-disk b/dotfiles/hyprland/.local/bin/waybar-disk deleted file mode 100755 index 6050653..0000000 --- a/dotfiles/hyprland/.local/bin/waybar-disk +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -# Waybar disk usage module with warning/critical states -PCT=$(df --output=pcent / | tail -1 | tr -d ' %') -CLASS="" -[ "$PCT" -ge 80 ] && CLASS="warning" -[ "$PCT" -ge 90 ] && CLASS="critical" -printf '{"text": "%s%%", "class": "%s", "tooltip": "Root: %s%% used"}\n' "$PCT" "$CLASS" "$PCT" |
