From ca75e5bb7938dddc6bd76234074c1b97977cde6f Mon Sep 17 00:00:00 2001 From: randomuser Date: Sat, 18 Jun 2022 15:28:59 -0500 Subject: [PATCH] status command --- Makefile | 1 + sh/status | 5 +++++ 2 files changed, 6 insertions(+) create mode 100755 sh/status diff --git a/Makefile b/Makefile index 663ac4d..57ce6c5 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ sh: cp -f sh/pco $(DESTDIR)$(PREFIX)/bin cp -f sh/git-survey $(DESTDIR)$(PREFIX)/bin cp -f sh/vim-swap-handler $(DESTDIR)$(PREFIX)/bin + cp -f sh/status $(DESTDIR)$(PREFIX)/bin mkc: cc c/scream.c -o c/scream diff --git a/sh/status b/sh/status new file mode 100755 index 0000000..95b4ad1 --- /dev/null +++ b/sh/status @@ -0,0 +1,5 @@ +#!/bin/sh + +[ "$(ps aux | grep simplestatus | wc -l)" -eq 2 ] && killall simplestatus && killall lemonbar + +simplestatus | lemonbar -f 'Fantasque Sans Mono' -B "#161510" -F "#4c4635"