wip
This commit is contained in:
parent
2bc5777b03
commit
ccc2f43d95
1 changed files with 3 additions and 4 deletions
7
swww.sh
7
swww.sh
|
@ -36,9 +36,8 @@
|
|||
|
||||
checkBuildDependencies() {
|
||||
echo_info "Installing build dependencies.."
|
||||
for i in git xdg-output liblz4-dev wayland-protocols; do
|
||||
run _install "$i"
|
||||
done
|
||||
local deps=(git xdg-output liblz4-dev wayland-protocols)
|
||||
checkAndInstall "$deps"
|
||||
|
||||
if ! command_exists cargo; then
|
||||
curl --proto '=https' --tlsv1.2 -sSf "https://sh.rustup.rs" | sh
|
||||
|
@ -57,7 +56,7 @@
|
|||
echo_info "Building swww from source.."
|
||||
if run cargo build --release; then
|
||||
echo_info "Installing swww and swww-daemon to /bin"
|
||||
run $_sudo cp target/release/swww{,-daemon} /bin/
|
||||
$_sudo cp target/release/swww{,-daemon} /bin/
|
||||
else
|
||||
echo_error "Could not build with cargo build --release.."
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue