From 32d82fba2c762efccb356c2a0b3e408068cc6e03 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 23 May 2023 15:01:20 -0500 Subject: Total reorganization, we're moving on from X --- sigdwmb | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 sigdwmb (limited to 'sigdwmb') diff --git a/sigdwmb b/sigdwmb deleted file mode 100755 index b21a991..0000000 --- a/sigdwmb +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -BLOCKS=`grep '^\s*{"' ~/.local/src/dwmblocks/config.h | cut -d'"' -f4 | uniq` -for i in $@; do - if `echo "$BLOCKS" | grep "$i" >/dev/null`; then - echo "$i" - pkill -RTMIN+`grep "$i" ~/.local/src/dwmblocks/config.h | sed -e 's/^\s*{".*",\s*[0-9]*,\s*//' -e 's/},$//' | head -1` dwmblocks - elif [ "$i" = "all" ]; then - for j in $BLOCKS; do - echo "$j" - pkill -RTMIN+`grep "$j" ~/.local/src/dwmblocks/config.h | sed -e 's/^\s*{".*",\s*[0-9]*,\s*//' -e 's/},$//' | head -1` dwmblocks - done - fi -done -- cgit v1.2.3