From 7a1ad90c42c3e6011b452e05d2aa43022cc3ea85 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Sat, 9 May 2020 19:13:09 -0500 Subject: [PATCH] Delete aur_updates --- .local/bin/polybar_scripts/aur_updates | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 .local/bin/polybar_scripts/aur_updates diff --git a/.local/bin/polybar_scripts/aur_updates b/.local/bin/polybar_scripts/aur_updates deleted file mode 100755 index 924fdceb..00000000 --- a/.local/bin/polybar_scripts/aur_updates +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env sh - -if ! updates=$(yay -Qum 2> /dev/null | wc -l); then - updates=0 -fi - -if [ "$updates" -eq 1 ]; then - echo "$updates update" -elif [ "$updates" -gt 1 ]; then - echo "$updates updates" -else - echo "" -fi