3 #############################################
4 ## installs all paperbenni suckless forks ##
5 ## made for personal use, so be warned ;) ##
6 #############################################
8 echo "installing paperbenni's suckless suite"
10 source <(curl -s https://raw.githubusercontent.com/paperbenni/bash/master/import.sh)
13 pinstall dash slop ffmpeg wmctrl
16 git clone --depth=1 https://github.com/paperbenni/"$1".git
20 wget "https://raw.githubusercontent.com/paperbenni/suckless/master/programs/$1"
25 mkdir -p ~/.local/share/fonts
27 pushd ~/.local/share/fonts
28 if ! [ -e monaco.ttf ]; then
29 wget https://github.com/todylu/monaco.ttf/raw/master/monaco.ttf
42 wget https://raw.githubusercontent.com/paperbenni/suckless/master/dwm.desktop
43 sudo mv dwm.desktop /usr/share/xsessions/
46 gprogram sucklessshutdown
49 if ! [ -d "$FOLDER" ]; then
50 echo "skipping $FOLDER"
60 if ! [ -z "$1" ]; then
61 curl https://raw.githubusercontent.com/paperbenni/dotfiles/master/install.sh | bash
64 # install window switcher
65 LINK="https://raw.githubusercontent.com/paperbenni/suckless/master"
67 if cat /etc/os-release | grep -i 'arch'; then
68 echo "setting up arch specific stuff"
69 # auto start script with dwm
70 ls ~/.dwm || mkdir ~/.dwm
71 curl $LINK/autostart.sh >~/.dwm/autostart.sh
72 if ! command -v compton; then
73 sudo pacman --noconfirm -S compton
76 # install notification-center
77 if ! command -v deadd-notification-center; then
78 wget $LINK/bin/deadd.pkg.tar.xz
79 sudo pacman --noconfirm -U deadd.pkg.tar.xz
85 mkdir -p ~/.config/deadd
86 curl $LINK/deadd.conf >~/.config/deadd/deadd.conf
88 curl "$LINK/dswitch" | sudo tee /usr/local/bin/dswitch
89 sudo chmod +x /usr/local/bin/dswitch
91 git clone https://github.com/phuhl/notify-send.py
93 sudo pip install notify2
94 sudo python setup.py install
98 # install win + a menus for screenshots
99 curl https://raw.githubusercontent.com/paperbenni/menus/master/install.sh | bash