mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-27 21:19:51 -05:00
Add common config option
This commit is contained in:
parent
4f6e6b8ece
commit
895e9b4260
45
cfg/Xdefaults
Normal file
45
cfg/Xdefaults
Normal file
@ -0,0 +1,45 @@
|
||||
! special
|
||||
*.foreground: #c5c8c6
|
||||
*.background: #1d1f21
|
||||
*.cursorColor: #c5c8c6
|
||||
|
||||
! black
|
||||
*.color0: #1d1f21
|
||||
*.color8: #969896
|
||||
|
||||
! red
|
||||
*.color1: #cc6666
|
||||
*.color9: #cc6666
|
||||
|
||||
! green
|
||||
*.color2: #b5bd68
|
||||
*.color10: #b5bd68
|
||||
|
||||
! yellow
|
||||
*.color3: #f0c674
|
||||
*.color11: #f0c674
|
||||
|
||||
! blue
|
||||
*.color4: #81a2be
|
||||
*.color12: #81a2be
|
||||
|
||||
! magenta
|
||||
*.color5: #b294bb
|
||||
*.color13: #b294bb
|
||||
|
||||
! cyan
|
||||
*.color6: #8abeb7
|
||||
*.color14: #8abeb7
|
||||
|
||||
! white
|
||||
*.color7: #c5c8c6
|
||||
*.color15: #ffffff
|
||||
|
||||
urxvt.depth: 32
|
||||
urxvt.background: rgba:0000/0000/0200/c800
|
||||
urxvt.font: xft:Sauce Code Pro Nerd Font-12:style=Regular:antialias=true
|
||||
urxvt.scrollBar: false
|
||||
urxvt.perl-ext-common: default,matcher
|
||||
urxvt.url-launcher: /usr/bin/xdg-open
|
||||
urxvt.matcher.button: 1
|
||||
|
32
configure.sh
32
configure.sh
@ -99,10 +99,26 @@ install_i3_laptop() {
|
||||
cp -rv cfg/i3blocks/laptop/blocks ~/.config/i3blocks/blocks
|
||||
}
|
||||
|
||||
install_common() {
|
||||
ln "Installing Common Packages"
|
||||
pac_install rxvt-unicode
|
||||
pac_install zsh
|
||||
pac_install autojump
|
||||
pac_install neovim
|
||||
pac_install mpd
|
||||
pac_install beets
|
||||
pac_install ncmpcpp
|
||||
aur_install oh-my-zsh-git
|
||||
aur_install nerd-fonts-source-code-pro
|
||||
}
|
||||
|
||||
configure_common() {
|
||||
ln "Installing Common Configuration Files"
|
||||
# powerlevel9k
|
||||
sudo git clone https://github.com/bhilburn/powerlevel9k.git /usr/share/oh-my-zsh/themes/powerlevel9k
|
||||
|
||||
# urxvt
|
||||
cp -v cfg/Xdefaults ~/.Xdefaults
|
||||
|
||||
# zsh
|
||||
cp -v cfg/zshrc ~/.zshrc
|
||||
@ -120,27 +136,35 @@ configure_common() {
|
||||
cp -rv cfg/beets ~/.config/beets
|
||||
|
||||
# ncmpcpp
|
||||
mkdir -pv ~/.ncmpcpp
|
||||
cp -v cfg/ncmpcpp/config ~/.ncmpcpp/
|
||||
|
||||
ln "Installing Common Services"
|
||||
svc_enable_user mpd
|
||||
svc_enable NetworkManager
|
||||
#svc_enable NetworkManager
|
||||
|
||||
ln "Changing Shell"
|
||||
chsh -s /bin/zsh
|
||||
}
|
||||
|
||||
lnh "Select a Window Manager"
|
||||
wm_opt=("Gnome" "i3")
|
||||
wm_opt=("Gnome" "i3" "None (Only install common config)")
|
||||
select opt in "${wm_opt[@]}"
|
||||
do
|
||||
case $opt in
|
||||
"Gnome")
|
||||
lnh "Window Manager Not Supported"
|
||||
exit
|
||||
lnh "Not yet fully supported!"
|
||||
exit
|
||||
break
|
||||
;;
|
||||
"i3")
|
||||
install_i3
|
||||
break
|
||||
;;
|
||||
"None (Only install common config)")
|
||||
install_common
|
||||
break
|
||||
;;
|
||||
*) echo "Invalid Option";;
|
||||
esac
|
||||
done
|
||||
|
@ -1,6 +1,5 @@
|
||||
ttf-vlgothic AUR
|
||||
nerd-fonts-complete AUR
|
||||
termite
|
||||
nerd-fonts-source-code-pro AUR
|
||||
|
||||
nvim
|
||||
ctags
|
||||
@ -13,6 +12,7 @@ beets
|
||||
|
||||
zsh
|
||||
oh-my-zsh AUR
|
||||
rxvt-unicode
|
||||
|
||||
networkmanager
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user