mirror of
https://github.com/Foltik/dotfiles
synced 2025-03-01 10:14:10 -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
|
||||||
|
|
30
configure.sh
30
configure.sh
@ -99,11 +99,27 @@ install_i3_laptop() {
|
|||||||
cp -rv cfg/i3blocks/laptop/blocks ~/.config/i3blocks/blocks
|
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() {
|
configure_common() {
|
||||||
ln "Installing Common Configuration Files"
|
ln "Installing Common Configuration Files"
|
||||||
# powerlevel9k
|
# powerlevel9k
|
||||||
sudo git clone https://github.com/bhilburn/powerlevel9k.git /usr/share/oh-my-zsh/themes/powerlevel9k
|
sudo git clone https://github.com/bhilburn/powerlevel9k.git /usr/share/oh-my-zsh/themes/powerlevel9k
|
||||||
|
|
||||||
|
# urxvt
|
||||||
|
cp -v cfg/Xdefaults ~/.Xdefaults
|
||||||
|
|
||||||
# zsh
|
# zsh
|
||||||
cp -v cfg/zshrc ~/.zshrc
|
cp -v cfg/zshrc ~/.zshrc
|
||||||
|
|
||||||
@ -120,20 +136,24 @@ configure_common() {
|
|||||||
cp -rv cfg/beets ~/.config/beets
|
cp -rv cfg/beets ~/.config/beets
|
||||||
|
|
||||||
# ncmpcpp
|
# ncmpcpp
|
||||||
|
mkdir -pv ~/.ncmpcpp
|
||||||
cp -v cfg/ncmpcpp/config ~/.ncmpcpp/
|
cp -v cfg/ncmpcpp/config ~/.ncmpcpp/
|
||||||
|
|
||||||
ln "Installing Common Services"
|
ln "Installing Common Services"
|
||||||
svc_enable_user mpd
|
svc_enable_user mpd
|
||||||
svc_enable NetworkManager
|
#svc_enable NetworkManager
|
||||||
|
|
||||||
|
ln "Changing Shell"
|
||||||
|
chsh -s /bin/zsh
|
||||||
}
|
}
|
||||||
|
|
||||||
lnh "Select a Window Manager"
|
lnh "Select a Window Manager"
|
||||||
wm_opt=("Gnome" "i3")
|
wm_opt=("Gnome" "i3" "None (Only install common config)")
|
||||||
select opt in "${wm_opt[@]}"
|
select opt in "${wm_opt[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
"Gnome")
|
"Gnome")
|
||||||
lnh "Window Manager Not Supported"
|
lnh "Not yet fully supported!"
|
||||||
exit
|
exit
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
@ -141,6 +161,10 @@ do
|
|||||||
install_i3
|
install_i3
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
"None (Only install common config)")
|
||||||
|
install_common
|
||||||
|
break
|
||||||
|
;;
|
||||||
*) echo "Invalid Option";;
|
*) echo "Invalid Option";;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
ttf-vlgothic AUR
|
ttf-vlgothic AUR
|
||||||
nerd-fonts-complete AUR
|
nerd-fonts-source-code-pro AUR
|
||||||
termite
|
|
||||||
|
|
||||||
nvim
|
nvim
|
||||||
ctags
|
ctags
|
||||||
@ -13,6 +12,7 @@ beets
|
|||||||
|
|
||||||
zsh
|
zsh
|
||||||
oh-my-zsh AUR
|
oh-my-zsh AUR
|
||||||
|
rxvt-unicode
|
||||||
|
|
||||||
networkmanager
|
networkmanager
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user