From f4c4550e327d9090c82a735d39d104d0bedb602d Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sun, 30 Mar 2025 01:00:51 -0400 Subject: Loads of laptop shit --- .local/bin/dwmbar/check-eselect | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/dwmbar/check-eselect (limited to '.local/bin/dwmbar/check-eselect') 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 + -- cgit v1.2.3