Загрузил(а) файлы в ''

This commit is contained in:
KhomyaK_HTF 2023-04-17 17:27:39 +02:00
parent 255067c92b
commit 9abaf45fa0
1 changed files with 17 additions and 0 deletions

17
install.sh Normal file
View File

@ -0,0 +1,17 @@
#! /bin/bash
PMN=$(which apt)
PMN=$(which pacman)
if [[ "$PMN" == "/usr/bin/apt" ]]; then
sudo apt install cargo feh
elif [[ "$PMN" == "/usr/bin/pacman" ]]; then
sudo pacman -Sy rust feh
fi
DE=$(which i3)
cargo b --release
sudo cp target/release/unwp /usr/bin
if [[ "$DE" == "/usr/bin/i3" ]]; then
echo "exec /usr/bin/unwp fhd" >> ~/.config/i3/config
fi