From f163eceb687b9a8090e38593dc7c74904a0e9bb4 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 4 Aug 2018 14:16:29 -0400 Subject: [PATCH] upgradable number moved to home --- .larbs/.pacupgrade | 1 - .scripts/i3pacman | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .larbs/.pacupgrade diff --git a/.larbs/.pacupgrade b/.larbs/.pacupgrade deleted file mode 100644 index 8b13789..0000000 --- a/.larbs/.pacupgrade +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.scripts/i3pacman b/.scripts/i3pacman index 852c5b7..e9ab9b1 100755 --- a/.scripts/i3pacman +++ b/.scripts/i3pacman @@ -1,8 +1,8 @@ #!/bin/bash case $BLOCK_BUTTON in - 1) $TERMINAL -e sudo pacman -Syu && pacman -Qu | wc -l > ~/.larbs/.pacupgrade && pkill -RTMIN+8 i3blocks ;; + 1) $TERMINAL -e sudo pacman -Syu && pacman -Qu | wc -l > ~/.pacupgrnum && pkill -RTMIN+8 i3blocks ;; esac -pacman -Qu | wc -l | sed -e '/^0$/d' > ~/.larbs/.pacupgrade && pkill -RTMIN+8 i3blocks +pacman -Qu | wc -l | sed -e '/^0$/d' > ~/.pacupgrnum && pkill -RTMIN+8 i3blocks -cat ~/.larbs/.pacupgrade | sed -e "/^$/d" +cat ~/.larbs/.pacupgrnum | sed -e "/^$/d"