diff --git a/usr/bin/update b/usr/bin/update index c7ea07b..b9bd0dc 100755 --- a/usr/bin/update +++ b/usr/bin/update @@ -1,4 +1,9 @@ #!/bin/bash + +if [ "$1" == "remote" ]; then + exec sudo bash -c "VERSION=1 . <(wget -qO- https://gitlab.com/garuda-linux/themes-and-settings/settings/garuda-common-settings/-/snippets/2147440/raw/main/remote-update) \"$2\"" +fi + # Check for AUR helper if [ -x /usr/bin/paru ]; then upd_cmd="paru -Su"