upgradable number moved to home
This commit is contained in:
parent
e90cfeff52
commit
f163eceb68
2 changed files with 3 additions and 4 deletions
|
@ -1 +0,0 @@
|
|||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue