sb

simple bar for dwm
git clone git://git.ckyln.com/sb.git
Log | Files | Refs | README | LICENSE

commit 1900c1f9d8b6312bf894f12b72b2c68d2233435b
parent 27c48069ca27581d90892ba0870a37f177a83c90
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 26 Nov 2019 01:06:15 +0300

linted

Diffstat:
Msb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sb b/sb @@ -25,7 +25,7 @@ elif [ "$1" = "-h" ] || [ "$1" = "--help" ]; then usage elif [ "$1" = "-n" ]; then nobar=1 elif [ "$1" = "-x" ]; then ! [ -e "/tmp/sb-$USER.pid" ] && printf "There is no running instance of sb\\n" && exit 1 - kill $(cat /tmp/sb-$USER.pid); rm "/tmp/sb-$USER.pid"; exit 0 + kill "$(cat "/tmp/sb-$USER.pid")"; rm "/tmp/sb-$USER.pid"; exit 0 fi