diff options
Diffstat (limited to '.local/bin/statusbar/sb-pacpackages')
-rwxr-xr-x | .local/bin/statusbar/sb-pacpackages | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/sb-pacpackages b/.local/bin/statusbar/sb-pacpackages index 08b4235..5ef09d3 100755 --- a/.local/bin/statusbar/sb-pacpackages +++ b/.local/bin/statusbar/sb-pacpackages @@ -15,15 +15,15 @@ # [Action] # Description = Updating statusbar... # When = PostTransaction -# Exec = /usr/bin/pkill -RTMIN+8 dwmblocks # Or waybar if using sway/hyprland. +# Exec = /usr/bin/pkill -RTMIN+8 dwmblocks # Or i3blocks if using i3. case $BLOCK_BUTTON in 1) setsid -f "$TERMINAL" -e sb-popupgrade >/dev/null 2>&1 ;; 2) notify-send "$(/usr/bin/pacman -Qu)" ;; - 3) notify-send "🎁 Upgrade module" "📦: number of upgradable packages + 3) notify-send " Upgrade module" ": number of upgradable packages - Left click to upgrade packages - Middle click to show upgradable packages" ;; 8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;; esac -pacman -Qu | rg -Fcv "[ignored]" | sed "s/^/📦/;s/^📦0$//g" +pacman -Qu | rg -Fcv "[ignored]" | sed "s/^/ /;s/^ 0$//g" |