Fix update module for Arch Linux
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/blocks/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/colorblocks/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/cuts/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/docky/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/forest/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/grayblocks/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/hack/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/material/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/shades/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/shapes/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/blocks/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/colorblocks/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/cuts/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/docky/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/forest/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/grayblocks/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/hack/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/material/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/hack/shades/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
get_total_updates() { UPDATES=$(~/.config/polybar/shapes/scripts/checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
get_total_updates
|
get_total_updates
|
||||||
|
|||||||
Reference in New Issue
Block a user