Удалить 'install.sh'
This commit is contained in:
parent
a30805afa6
commit
3551fdc7ee
17
install.sh
17
install.sh
|
@ -1,17 +0,0 @@
|
|||
#! /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
|
Loading…
Reference in New Issue