summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/check-eselect
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2025-03-30 01:00:51 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2025-03-30 01:00:51 -0400
commitf4c4550e327d9090c82a735d39d104d0bedb602d (patch)
treefcfa762512155c132a66d3adbb56067ca2d5d61b /.local/bin/dwmbar/check-eselect
parent43dbb32d741e11f8e06341f515944ec757d4578f (diff)
Loads of laptop shit
Diffstat (limited to '.local/bin/dwmbar/check-eselect')
-rwxr-xr-x.local/bin/dwmbar/check-eselect8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/dwmbar/check-eselect b/.local/bin/dwmbar/check-eselect
new file mode 100755
index 0000000..760765b
--- /dev/null
+++ b/.local/bin/dwmbar/check-eselect
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$(eselect news count all)" -eq 0 ]; then
+ exit 1
+else
+ exit 0
+fi
+