Загрузил(а) файлы в ''
This commit is contained in:
parent
255067c92b
commit
9abaf45fa0
|
@ -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
|
Loading…
Reference in New Issue