Last active
October 14, 2019 17:08
-
-
Save alexhallam/2e0e647af23b03d2298d8b95b5badbc2 to your computer and use it in GitHub Desktop.
Debian_Suckless
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Credit | |
# https://marvin.im/post/a-suckless-debian/ | |
# install basics | |
apt-get update; apt-get install -y neovim tmux xinit git build-essential wget curl stow alsa-utils && | |
# get my dotfiles -- mostly for nvim | |
https://github.com/alexhallam/dotfiles.git && | |
cd dotfiles && | |
stow bashrc nvim tmux && | |
# back to home | |
cd && | |
# vim plug (rembmer to plug install) | |
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim && | |
# dwm - periodically update | |
sudo apt-get install -y libx11-dev libxft-dev libxinerama-dev xclip && | |
wget https://dl.suckless.org/dwm/dwm-6.1.tar.gz && | |
tar xvf dwm*.tar.gz && | |
cd dwm-*/ && | |
# fix to work on linux instead of bsd | |
sed -i 's,FREETYPEINC = ${X11INC}/freetype2,#FREETYPEINC = ${X11INC}/freetype2,g' config.mk && | |
make && | |
sudo make install && | |
# back to home | |
cd && | |
# st | |
wget https://dl.suckless.org/st/st-0.8.1.tar.gz && | |
tar xvf st*.tar.gz && | |
cd st-*/ && | |
make && | |
sudo make install && | |
# back to home | |
cd && | |
# dmenu | |
wget https://dl.suckless.org/tools/dmenu-4.8.tar.gz && | |
tar xvf dmenu*.tar.gz && | |
cd dmenu-*/ && | |
make && | |
sudo make install && | |
# back to home | |
cd && | |
# surf | |
sudo apt-get install -y libbrotli-dev libwoff-dev libgcr-3-dev && | |
sudo apt-get install -y libxvidcore4 gstreamer1.0-plugins-base gstreamer1.0-plugins-good \ | |
gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-fluendo-mp3 gstreamer1.0-libav && | |
git clone https://git.suckless.org/surf && | |
cd surf/ && | |
make && | |
sudo make install && | |
# back to home | |
cd && | |
# slstatus | |
git clone git://git.suckless.org/slstatus && | |
cd slstatus && | |
make && | |
sudo make install && | |
# back to home | |
cd && | |
# .xinitrc | |
cat slstatus & st & exec dwm > .xinitrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment