initial commit
This commit is contained in:
59
install/bspwm.sh
Normal file
59
install/bspwm.sh
Normal file
@ -0,0 +1,59 @@
|
||||
#!/bin/bash
|
||||
|
||||
# text settings
|
||||
ORANGE='\033[0;33m'
|
||||
NC='\033[0m' # No Color
|
||||
BOLD=$(tput bold)
|
||||
NORMAL=$(tput sgr0)
|
||||
|
||||
INSTALL="sudo pacman -S"
|
||||
AUR_DOWNLOAD="cower -d"
|
||||
|
||||
INSTALL_DIR="./bspwm_install"
|
||||
|
||||
if [ -d $INSTALL_DIR ] then
|
||||
mkdir $INSTALL_DIR
|
||||
fi
|
||||
|
||||
|
||||
# install packages
|
||||
|
||||
# core
|
||||
echo -e "Installing bspwm and sxhkd:"
|
||||
$INSTALL bspwm sxhkd
|
||||
echo -e "Installing xrandr gui:"
|
||||
$INSTALL lxrandr
|
||||
echo -e "Installing wmame:"
|
||||
$INSTALL wmname
|
||||
echo -e "Installing rofi:"
|
||||
$INSTALL rofi
|
||||
echo -e "Installing notification daemon"
|
||||
$INSTALL notify-osd
|
||||
echo -e "Installing i3lock for lockscreen:"
|
||||
$INSTALL i3lock xautolock
|
||||
# change background image
|
||||
echo -e "Installing background image controller:"
|
||||
$INSTALL feh
|
||||
# audio and backlight control
|
||||
echo -e "Installing audio and backlight controller:"
|
||||
$INSTALL alsa-utils xorg-xbacklight
|
||||
# modify key mapping
|
||||
echo -e "Installing key mapping modifier:"
|
||||
$INSTALL xorg-xmodmap
|
||||
echo -e "Installing Compton (wm effects):"
|
||||
$INSTALL compton
|
||||
echo -e "Installing scort for screenshots:"
|
||||
$INSTALL scrot
|
||||
echo -e "${BOLD}You need to install Polybar from AUR"
|
||||
$AUR_DOWNLOAD polybar -t $INSTALL_DIR
|
||||
|
||||
echo -e "${BOLD}You need to install the following fonts from AUR:${NORMAL}"
|
||||
echo -e "${ORANGE} ttf-font-awesome${NC}"
|
||||
echo -e "${ORANGE} ttf-material-design-icons${NC}"
|
||||
|
||||
$AUR_DOWNLOAD ttf-font-awesome -t $INSTALL_DIR
|
||||
$AUR_DOWNLOAD ttf-material-design-icons -t $INSTALL_DIR
|
||||
|
||||
# link config files
|
||||
# TODO
|
||||
|
23
install/install.sh
Executable file
23
install/install.sh
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Installing dotfiles"
|
||||
|
||||
echo "Updating git submodules"
|
||||
git submodule update --init
|
||||
|
||||
echo "Installing packages"
|
||||
source install/pacman.sh
|
||||
|
||||
#echo "set up gnome-terminal colorscheme"
|
||||
#source gnome-terminal/gnome-terminal-colors-solarized/install.sh
|
||||
|
||||
echo "linking config files"
|
||||
source install/link.sh
|
||||
|
||||
echo "Configuring zsh as default shell"
|
||||
chsh -s $(which zsh)
|
||||
source $HOME/.config/base16-shell/base16-brewer.dark.sh
|
||||
|
||||
|
||||
|
||||
|
17
install/link.sh
Normal file
17
install/link.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOTFILES=$HOME/.dotfiles
|
||||
|
||||
echo -e "\nCreating symlinks"
|
||||
echo "=============================="
|
||||
|
||||
echo "tmux:"
|
||||
ln -s $DOTFILES/tmux/tmux.conf $HOME/.tmux.conf
|
||||
ln -s $DOTFILES/tmux/tmux $HOME/.tmux
|
||||
|
||||
echo "zsh:"
|
||||
ln -s $DOTFILES/zsh/zshrc $HOME/.zshrc
|
||||
|
||||
echo "base16:"
|
||||
ln -s $DOTFILES/base16/* $HOME/.config
|
||||
|
13
install/pacman.sh
Normal file
13
install/pacman.sh
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
type pacman > /dev/null 2>&1 || { echo >&2 "I require pacman but it's not installed. Aborting."; exit 1; }
|
||||
|
||||
echo "Installing packages..."
|
||||
|
||||
pacman -S git
|
||||
pacman -S tmux
|
||||
pacman -S zsh
|
||||
pacman -S powerline
|
||||
pacman -S nvim
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user