status command

This commit is contained in:
randomuser 2022-06-18 15:28:59 -05:00
parent d8febccf82
commit ca75e5bb79
2 changed files with 6 additions and 0 deletions

View File

@ -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

5
sh/status Executable file
View File

@ -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"