From 5d80cf2047c7de49c59e861fff575decadc9bbc3 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 11 May 2025 15:58:32 +0200 Subject: [PATCH] bugfixes --- swww.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/swww.sh b/swww.sh index 605a083..ece5e03 100644 --- a/swww.sh +++ b/swww.sh @@ -13,7 +13,7 @@ # arch = bool # fedora = bool # opensuse = bool.... - # You can then use it for, `if arch; then` + # You can then use it for, `if $arch; then` # Also this gives you the _install command, which installs a package pased on the packagemanager/distro used. # CAUTION: # This only wokrs for generic package names, like neovim, or vim, or tmux etc.. @@ -22,16 +22,16 @@ i="https://git.k4li.de/scripts/imports/raw/branch/main/distros.sh" import="$(mktemp)" if command_exists curl; then - curl -fsSL i -o import + curl -fsSL $i -o $import else echo "curl is required, but missing.." exit 1 fi - source "import" + source "$import" sleep 0.3 - rm "import" - echo_warning "cleaned import" + rm "$import" + echo_warning "cleaned $import" } checkBuildDependencies() {