From d641e9050350749cda72a02de9f74812718558d1 Mon Sep 17 00:00:00 2001 From: samedamci Date: Sun, 15 Mar 2020 19:54:06 +0100 Subject: [PATCH] Add suckless tabbed fork to dotfiles --- botfiles/.config/sxhkd/sxhkdrc.pc | 2 +- dotman | 20 +++++++++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/botfiles/.config/sxhkd/sxhkdrc.pc b/botfiles/.config/sxhkd/sxhkdrc.pc index 73a8aad..e79cada 100644 --- a/botfiles/.config/sxhkd/sxhkdrc.pc +++ b/botfiles/.config/sxhkd/sxhkdrc.pc @@ -17,7 +17,7 @@ super + o $HOME/.scripts/websearch # st super + Return - st + tabbed -r 2 st -w '' # vifm super + r st -e vifm diff --git a/dotman b/dotman index 09e306b..29064e6 100755 --- a/dotman +++ b/dotman @@ -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 <$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