Add suckless tabbed fork to dotfiles

This commit is contained in:
samedamci 2020-03-15 19:54:06 +01:00
parent 8603156689
commit d641e90503
2 changed files with 18 additions and 4 deletions

View File

@ -17,7 +17,7 @@ super + o
$HOME/.scripts/websearch
# st
super + Return
st
tabbed -r 2 st -w ''
# vifm
super + r
st -e vifm

20
dotman
View File

@ -34,17 +34,27 @@ install_packages() {
sudo pip install -U grip
}
install_st_and_dmenu() {
install_st() {
cd ~/.cache/dotfiles/
git clone https://github.com/samedamci/st
cd st
sudo make clean install
}
install_dmenu() {
cd ~/.cache/dotfiles/
git clone https://github.com/samedamci/dmenu
cd dmenu
sudo make clean install
}
install_tabbed() {
cd ~/.cache/dotfiles
git clone https://github.com/samedamci/tabbed
cd tabbed
sudo make clean install
}
config_pacman() {
su root -c "cat >/etc/pacman.conf <<EOF
@ -165,8 +175,12 @@ printf "\nDo you want to install packages? (Y/n): "; read CHOICE
if [ "$CHOICE" = "Y" ]; then echo "Installing packages..." && install_packages &>$LOG_DIR/install_packages.log; fi
clear
greeter
printf "\nDo you want to compile nad install st and dmenu? (Y/n): "; read CHOICE
if [ "$CHOICE" = "Y" ]; then echo "Compiling and installing st and dmenu..." && install_st_and_dmenu &>$LOG_DIR/install_st_and_dmenu.log; fi
printf "\nDo you want to compile nad install st? (Y/n): "; read CHOICE
if [ "$CHOICE" = "Y" ]; then echo "Compiling and installing st..." && install_st &>$LOG_DIR/install_st.log; fi
printf "\nDo you want to compile nad install dmenu? (Y/n): "; read CHOICE
if [ "$CHOICE" = "Y" ]; then echo "Compiling and installing dmenu..." && install_dmenu &>$LOG_DIR/install_dmenu.log; fi
printf "\nDo you want to compile nad install tabbed? (Y/n): "; read CHOICE
if [ "$CHOICE" = "Y" ]; then echo "Compiling and installing tabbed..." && install_tabbed &>$LOG_DIR/install_tabbed.log; fi
clear
greeter
printf "\nDo you want to copy configs? (Y/n): "; read CHOICE