summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/login.d/00_quota.sh4
-rwxr-xr-x.local/bin/xmessage2
2 files changed, 4 insertions, 2 deletions
diff --git a/.config/login.d/00_quota.sh b/.config/login.d/00_quota.sh
new file mode 100644
index 0000000..afe7211
--- /dev/null
+++ b/.config/login.d/00_quota.sh
@@ -0,0 +1,4 @@
+#!/hint/sh
+if { ! quota -s; } && [ -n "$DISPLAY" ]; then
+ xmessage -center "$(quota -s)" &
+fi
diff --git a/.local/bin/xmessage b/.local/bin/xmessage
deleted file mode 100755
index 46647e0..0000000
--- a/.local/bin/xmessage
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec gxmessage "$@" -fn 'Monospace'