From 90ba8e7ff77c17c4b5dd65c7d29fa3df5bd07281 Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 19 May 2025 16:53:53 +0200 Subject: [PATCH] wip --- swww.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/swww.sh b/swww.sh index da6277d..d8acba4 100644 --- a/swww.sh +++ b/swww.sh @@ -35,7 +35,7 @@ } checkBuildDependencies() { - echo_info "Installing build dependencies.." + echo_pkg deps "Installing build dependencies.." local deps=(git xdg-output liblz4-dev wayland-protocols) # echo "DEBUG: Installing ${deps[@]}" checkAndInstall "${deps[@]}" @@ -49,14 +49,14 @@ cloneAndBuildSwww() { local cloneDir="$(mktemp -d)" - echo_info "cloning swww into $cloneDir/swww" + echo_pkg clone "cloning swww into $cloneDir/swww" run git clone --depth=1 https://github.com/LGFae/swww.git $cloneDir/swww cd $cloneDir/swww || echo_error "error.." - echo_info "Building swww from source.." + echo_pkg build "Building swww from source.." if run cargo build --release; then - echo_info "Installing swww and swww-daemon to /bin" + echo_pkg install "Installing swww and swww-daemon to /bin" $_sudo cp target/release/swww{,-daemon} /bin/ else echo_error "Could not build with cargo build --release.." @@ -70,7 +70,7 @@ case "$distro" in arch) - echo_info "Arch detected.. installing directly" + echo_pkg arch "Arch detected.. installing directly" run _install swww ;; debian | ubuntu)