Compare commits
5 Commits
83feca8d69
...
master
Author | SHA1 | Date | |
---|---|---|---|
af74f976f6 | |||
e53367579e | |||
a875fbecd4 | |||
ee6c4f4eb4 | |||
642604e1a1 |
@ -7,3 +7,4 @@ dotfiles
|
||||
* bash - bashrc, bash_colors and bash_liases for use with bash shell.
|
||||
* zsh - zshrc and zshrc_aliases config files
|
||||
* oh-my-zsh - Persoanl oh-my-zsh theme
|
||||
*
|
||||
|
91
install.sh
91
install.sh
@ -1,23 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Setup Shell
|
||||
if [ -n "$($SHELL -c 'echo $ZSH_VERSION')" ]; then
|
||||
echo "Setting up ZSH"
|
||||
rm -fr ~/.oh-my-zsh
|
||||
rm -fr ~/.zshrc
|
||||
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
||||
ln -s `pwd`/zsh/dracula/dracula.zsh-theme ~/.oh-my-zsh/themes/dracula.zsh-theme
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
|
||||
wget https://github.com/dracula/zsh/archive/master.zip -O /tmp/dracula.zip --quiet
|
||||
unzip -q /tmp/dracula.zip -d /tmp
|
||||
rm /tmp/dracula.zip
|
||||
mv /tmp/zsh-master/dracula.zsh-theme ~/.oh-my-zsh/themes/dracula.zsh-theme
|
||||
mv /tmp/zsh-master/lib ~/.oh-my-zsh/themes
|
||||
rm -fr /tmp/zsh-master
|
||||
rm -fr ~/.zshrc*
|
||||
ln -s `pwd`/zsh/zshrc ~/.zshrc
|
||||
elif [ -n "$($SHELL -c 'echo $BASH_VERSION')" ]; then
|
||||
rm -fr ~/.bashrc
|
||||
rm -fr ~/.bash_colors
|
||||
rm -fr ~/.bash_aliases
|
||||
ln -s `pwd`/bash/bashrc ~/.bashrc
|
||||
ln -s `pwd`/bash/bash_colors ~/.bash_colors
|
||||
ln -s `pwd`/bash/bash_aliases ~/.bash_aliases
|
||||
fi
|
||||
|
||||
# Setup git
|
||||
echo "Setup git"
|
||||
rm -fr ~/.gitconfig
|
||||
ln -s `pwd`/git/gitconfig ~/.gitconfig
|
||||
|
||||
@ -28,47 +23,47 @@ rm -fr ~/.nanorc
|
||||
ln -s `pwd`/nano/nanorc ~/.nanorc
|
||||
ln -s `pwd`/nano ~/.nano
|
||||
|
||||
# Setup VIM
|
||||
echo "Setup VIM"
|
||||
rm -fr ~/.vim
|
||||
ln -s `pwd`/vim ~/.vim
|
||||
# # Setup VIM
|
||||
# echo "Setup VIM"
|
||||
# rm -fr ~/.vim
|
||||
# ln -s `pwd`/vim ~/.vim
|
||||
|
||||
# Setup mutt
|
||||
echo "Setup mutt"
|
||||
echo "Make sure you generate an oauth2 file - ./mutt_oauth2.py oauth2 --verbose --authorize"
|
||||
rm -fr ~/.mutt
|
||||
ln -s `pwd`/mutt ~/.mutt
|
||||
# # Setup mutt
|
||||
# echo "Setup mutt"
|
||||
# echo "Make sure you generate an oauth2 file - ./mutt_oauth2.py oauth2 --verbose --authorize"
|
||||
# rm -fr ~/.mutt
|
||||
# ln -s `pwd`/mutt ~/.mutt
|
||||
|
||||
# Setup lxterminal
|
||||
echo "Setup lxterminal"
|
||||
rm -fr ~/.config/lxterminal
|
||||
ln -s `pwd`/config/lxterminal ~/.config/lxterminal
|
||||
# # Setup lxterminal
|
||||
# echo "Setup lxterminal"
|
||||
# rm -fr ~/.config/lxterminal
|
||||
# ln -s `pwd`/config/lxterminal ~/.config/lxterminal
|
||||
|
||||
# Setup AwesomeWM
|
||||
echo "Setup AwesomeWM"
|
||||
rm -fr ~/.xinitrc
|
||||
rm -fr ~/.config/awesome
|
||||
ln -s `pwd`/xinitrc ~/.xinitrc
|
||||
ln -s `pwd`/config/awesome ~/.config/awesome
|
||||
# # Setup AwesomeWM
|
||||
# echo "Setup AwesomeWM"
|
||||
# rm -fr ~/.xinitrc
|
||||
# rm -fr ~/.config/awesome
|
||||
# ln -s `pwd`/xinitrc ~/.xinitrc
|
||||
# ln -s `pwd`/config/awesome ~/.config/awesome
|
||||
|
||||
# Setup mpd
|
||||
rm -fr ~/.config/mpd
|
||||
ln -s `pwd`/config/mpd ~/.config/mpd
|
||||
# # Setup mpd
|
||||
# rm -fr ~/.config/mpd
|
||||
# ln -s `pwd`/config/mpd ~/.config/mpd
|
||||
|
||||
# Setup picom
|
||||
rm -fr ~/.config/picom
|
||||
ln -s `pwd`/config/picom ~/.config/picom
|
||||
# # Setup picom
|
||||
# rm -fr ~/.config/picom
|
||||
# ln -s `pwd`/config/picom ~/.config/picom
|
||||
|
||||
# Setup qutebrowser
|
||||
rm -fr ~/.config/qutebrowser
|
||||
mkdir ~/.config/qutebrowser
|
||||
mkdir ~/.config/qutebrowser/bookmarks
|
||||
ln -s `pwd`/config/qutebrowser/config.py ~/.config/qutebrowser/config.py
|
||||
ln -s `pwd`/config/qutebrowser/bookmarks/urls ~/.config/qutebrowser/bookmarks/urls
|
||||
# # Setup qutebrowser
|
||||
# rm -fr ~/.config/qutebrowser
|
||||
# mkdir ~/.config/qutebrowser
|
||||
# mkdir ~/.config/qutebrowser/bookmarks
|
||||
# ln -s `pwd`/config/qutebrowser/config.py ~/.config/qutebrowser/config.py
|
||||
# ln -s `pwd`/config/qutebrowser/bookmarks/urls ~/.config/qutebrowser/bookmarks/urls
|
||||
|
||||
# Set Newsboat
|
||||
rm -fr ~/.config/newsboat
|
||||
ln -s `pwd`/config/newsboat ~/.config/newsboat
|
||||
# # Set Newsboat
|
||||
# rm -fr ~/.config/newsboat
|
||||
# ln -s `pwd`/config/newsboat ~/.config/newsboat
|
||||
|
||||
|
||||
|
||||
|
BIN
mpd/database
Normal file
BIN
mpd/database
Normal file
Binary file not shown.
16
mpd/mpd.conf
Normal file
16
mpd/mpd.conf
Normal file
@ -0,0 +1,16 @@
|
||||
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
|
||||
music_directory "/mnt/nfs/music"
|
||||
playlist_directory "/mnt/nfs/mucis/playlists"
|
||||
auto_update "yes"
|
||||
bind_to_address "127.0.0.1"
|
||||
restore_paused "yes"
|
||||
max_output_buffer_size "16384"
|
||||
|
||||
audio_output {
|
||||
type "pipewire"
|
||||
name "PipeWire Sound Server"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -45,7 +45,7 @@ import readline
|
||||
# encryption and decryption pipes you prefer. They should read from standard
|
||||
# input and write to standard output. The example values here invoke GPG,
|
||||
# although won't work until an appropriate identity appears in the first line.
|
||||
ENCRYPTION_PIPE = ['gpg', '--encrypt', '--recipient', 'Comprofix Oauth2']
|
||||
ENCRYPTION_PIPE = ['gpg', '--encrypt', '--recipient', '69D1B6909E78A7F20526AD571EC54A8408667FA6']
|
||||
DECRYPTION_PIPE = ['gpg', '--decrypt']
|
||||
|
||||
registrations = {
|
||||
@ -76,7 +76,7 @@ registrations = {
|
||||
'https://outlook.office.com/POP.AccessAsUser.All '
|
||||
'https://outlook.office.com/SMTP.Send'),
|
||||
'client_id': '08162f7c-0fd2-4200-a84a-f25a4db0b584',
|
||||
'client_secret': 'TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82'
|
||||
'client_secret': 'TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82',
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@ set sidebar_width = 23
|
||||
#set sidebar_delim = '|'
|
||||
set sidebar_divider_char = '|'
|
||||
set sidebar_sort_method = 'path'
|
||||
#set sidebar_new_mail_only = yes
|
||||
|
||||
set sidebar_short_path = yes
|
||||
|
||||
|
@ -56,6 +56,8 @@ plugins=(git svn)
|
||||
# User configuration
|
||||
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/bin/:${PATH}"
|
||||
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
|
||||
export PATH="$PATH:$GEM_HOME/bin"
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
@ -98,7 +100,7 @@ if [ -f /usr/bin/lsb_release ]; then
|
||||
fi
|
||||
|
||||
if [[ $DISTRO = 'Debian' ]]; then
|
||||
alias archey='screenfetch'
|
||||
alias archey='neofetch'
|
||||
fi
|
||||
|
||||
# Fun / Games
|
||||
@ -168,3 +170,5 @@ alias ST='speedtest-cli'
|
||||
alias mutt='TERM=xterm-256color; neomutt'
|
||||
#alias UM='imapfilter; offlineimap'
|
||||
alias home='ssh -p 2222 moe@home.comprofix.com'
|
||||
|
||||
eval $(keychain --eval --quiet)
|
||||
|
Reference in New Issue
Block a user