This repository has been archived on 2024-08-18. You can view files and clone it, but cannot push or open issues or pull requests.
suckless/install.sh

33 lines
430 B
Bash
Raw Permalink Normal View History

2024-07-21 10:10:08 +08:00
path=$PWD
echo $path
make_st() {
cd ./st/
make & sudo make install
cd $path
}
make_dwm() {
cd ./dwm/
make
sudo make install
sudo mkdir /usr/share/xsessions/
sudo cp ./desktop/dwm.desktop /usr/share/xsessions/
cd $path
}
make_slstatus() {
cd ./slstatus/
make && sudo make install
cd $path
}
ln_script() {
ln -s $PWD/scripts ~/.dwm
}
make_st
make_dwm
make_slstatus
ln_script