summaryrefslogtreecommitdiffstats
path: root/.scripts/i3pacman
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-10-05 21:43:10 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-10-05 21:43:10 -0400
commit6083bc4d3fb8f1b43d58d65202eb299fa19b9b1b (patch)
tree229bea40583eafeb8057f8a06e955a56eb899be6 /.scripts/i3pacman
parentde9157c9820358c4a527678a4dd1e98146217668 (diff)
downloadeibhear-6083bc4d3fb8f1b43d58d65202eb299fa19b9b1b.tar.gz
eibhear-6083bc4d3fb8f1b43d58d65202eb299fa19b9b1b.tar.zst
eibhear-6083bc4d3fb8f1b43d58d65202eb299fa19b9b1b.zip
i3pacman update
Diffstat (limited to '.scripts/i3pacman')
-rwxr-xr-x.scripts/i3pacman6
1 files changed, 3 insertions, 3 deletions
diff --git a/.scripts/i3pacman b/.scripts/i3pacman
index bf1b3cc..f1aae76 100755
--- a/.scripts/i3pacman
+++ b/.scripts/i3pacman
@@ -7,9 +7,9 @@
# When clicked, it will run an upgrade via `yay`. (`yay` required, duh.)
case $BLOCK_BUTTON in
- 1) $TERMINAL -e yay -Syu && pacman -Qu | wc -l > ~/.pacupgrnum && pkill -RTMIN+8 i3blocks ;;
+ 1) $TERMINAL -e "popupgrade" ;;
esac
-pacman -Qu | wc -l | sed -e '/^0$/d' > ~/.pacupgrnum && pkill -RTMIN+8 i3blocks
+yay -Qum | wc -l > ~/.pacupgrnum && pkill -RTMIN+8 i3blocks
-sed -e "/^$/d" ~/.pacupgrnum
+sed -e "/^0$/d" ~/.pacupgrnum