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.
|
* bash - bashrc, bash_colors and bash_liases for use with bash shell.
|
||||||
* zsh - zshrc and zshrc_aliases config files
|
* zsh - zshrc and zshrc_aliases config files
|
||||||
* oh-my-zsh - Persoanl oh-my-zsh theme
|
* oh-my-zsh - Persoanl oh-my-zsh theme
|
||||||
|
*
|
||||||
|
95
install.sh
95
install.sh
@ -1,23 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Setup Shell
|
rm -fr ~/.oh-my-zsh
|
||||||
if [ -n "$($SHELL -c 'echo $ZSH_VERSION')" ]; then
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
|
||||||
echo "Setting up ZSH"
|
wget https://github.com/dracula/zsh/archive/master.zip -O /tmp/dracula.zip --quiet
|
||||||
rm -fr ~/.oh-my-zsh
|
unzip -q /tmp/dracula.zip -d /tmp
|
||||||
rm -fr ~/.zshrc
|
rm /tmp/dracula.zip
|
||||||
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
mv /tmp/zsh-master/dracula.zsh-theme ~/.oh-my-zsh/themes/dracula.zsh-theme
|
||||||
ln -s `pwd`/zsh/dracula/dracula.zsh-theme ~/.oh-my-zsh/themes/dracula.zsh-theme
|
mv /tmp/zsh-master/lib ~/.oh-my-zsh/themes
|
||||||
ln -s `pwd`/zsh/zshrc ~/.zshrc
|
rm -fr /tmp/zsh-master
|
||||||
elif [ -n "$($SHELL -c 'echo $BASH_VERSION')" ]; then
|
rm -fr ~/.zshrc*
|
||||||
rm -fr ~/.bashrc
|
ln -s `pwd`/zsh/zshrc ~/.zshrc
|
||||||
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
|
# Setup git
|
||||||
|
echo "Setup git"
|
||||||
rm -fr ~/.gitconfig
|
rm -fr ~/.gitconfig
|
||||||
ln -s `pwd`/git/gitconfig ~/.gitconfig
|
ln -s `pwd`/git/gitconfig ~/.gitconfig
|
||||||
|
|
||||||
@ -28,47 +23,47 @@ rm -fr ~/.nanorc
|
|||||||
ln -s `pwd`/nano/nanorc ~/.nanorc
|
ln -s `pwd`/nano/nanorc ~/.nanorc
|
||||||
ln -s `pwd`/nano ~/.nano
|
ln -s `pwd`/nano ~/.nano
|
||||||
|
|
||||||
# Setup VIM
|
# # Setup VIM
|
||||||
echo "Setup VIM"
|
# echo "Setup VIM"
|
||||||
rm -fr ~/.vim
|
# rm -fr ~/.vim
|
||||||
ln -s `pwd`/vim ~/.vim
|
# ln -s `pwd`/vim ~/.vim
|
||||||
|
|
||||||
# Setup mutt
|
# # Setup mutt
|
||||||
echo "Setup mutt"
|
# echo "Setup mutt"
|
||||||
echo "Make sure you generate an oauth2 file - ./mutt_oauth2.py oauth2 --verbose --authorize"
|
# echo "Make sure you generate an oauth2 file - ./mutt_oauth2.py oauth2 --verbose --authorize"
|
||||||
rm -fr ~/.mutt
|
# rm -fr ~/.mutt
|
||||||
ln -s `pwd`/mutt ~/.mutt
|
# ln -s `pwd`/mutt ~/.mutt
|
||||||
|
|
||||||
# Setup lxterminal
|
# # Setup lxterminal
|
||||||
echo "Setup lxterminal"
|
# echo "Setup lxterminal"
|
||||||
rm -fr ~/.config/lxterminal
|
# rm -fr ~/.config/lxterminal
|
||||||
ln -s `pwd`/config/lxterminal ~/.config/lxterminal
|
# ln -s `pwd`/config/lxterminal ~/.config/lxterminal
|
||||||
|
|
||||||
# Setup AwesomeWM
|
# # Setup AwesomeWM
|
||||||
echo "Setup AwesomeWM"
|
# echo "Setup AwesomeWM"
|
||||||
rm -fr ~/.xinitrc
|
# rm -fr ~/.xinitrc
|
||||||
rm -fr ~/.config/awesome
|
# rm -fr ~/.config/awesome
|
||||||
ln -s `pwd`/xinitrc ~/.xinitrc
|
# ln -s `pwd`/xinitrc ~/.xinitrc
|
||||||
ln -s `pwd`/config/awesome ~/.config/awesome
|
# ln -s `pwd`/config/awesome ~/.config/awesome
|
||||||
|
|
||||||
# Setup mpd
|
# # Setup mpd
|
||||||
rm -fr ~/.config/mpd
|
# rm -fr ~/.config/mpd
|
||||||
ln -s `pwd`/config/mpd ~/.config/mpd
|
# ln -s `pwd`/config/mpd ~/.config/mpd
|
||||||
|
|
||||||
# Setup picom
|
# # Setup picom
|
||||||
rm -fr ~/.config/picom
|
# rm -fr ~/.config/picom
|
||||||
ln -s `pwd`/config/picom ~/.config/picom
|
# ln -s `pwd`/config/picom ~/.config/picom
|
||||||
|
|
||||||
# Setup qutebrowser
|
# # Setup qutebrowser
|
||||||
rm -fr ~/.config/qutebrowser
|
# rm -fr ~/.config/qutebrowser
|
||||||
mkdir ~/.config/qutebrowser
|
# mkdir ~/.config/qutebrowser
|
||||||
mkdir ~/.config/qutebrowser/bookmarks
|
# mkdir ~/.config/qutebrowser/bookmarks
|
||||||
ln -s `pwd`/config/qutebrowser/config.py ~/.config/qutebrowser/config.py
|
# ln -s `pwd`/config/qutebrowser/config.py ~/.config/qutebrowser/config.py
|
||||||
ln -s `pwd`/config/qutebrowser/bookmarks/urls ~/.config/qutebrowser/bookmarks/urls
|
# ln -s `pwd`/config/qutebrowser/bookmarks/urls ~/.config/qutebrowser/bookmarks/urls
|
||||||
|
|
||||||
# Set Newsboat
|
# # Set Newsboat
|
||||||
rm -fr ~/.config/newsboat
|
# rm -fr ~/.config/newsboat
|
||||||
ln -s `pwd`/config/newsboat ~/.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
|
# encryption and decryption pipes you prefer. They should read from standard
|
||||||
# input and write to standard output. The example values here invoke GPG,
|
# 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.
|
# 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']
|
DECRYPTION_PIPE = ['gpg', '--decrypt']
|
||||||
|
|
||||||
registrations = {
|
registrations = {
|
||||||
@ -76,7 +76,7 @@ registrations = {
|
|||||||
'https://outlook.office.com/POP.AccessAsUser.All '
|
'https://outlook.office.com/POP.AccessAsUser.All '
|
||||||
'https://outlook.office.com/SMTP.Send'),
|
'https://outlook.office.com/SMTP.Send'),
|
||||||
'client_id': '08162f7c-0fd2-4200-a84a-f25a4db0b584',
|
'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_delim = '|'
|
||||||
set sidebar_divider_char = '|'
|
set sidebar_divider_char = '|'
|
||||||
set sidebar_sort_method = 'path'
|
set sidebar_sort_method = 'path'
|
||||||
|
#set sidebar_new_mail_only = yes
|
||||||
|
|
||||||
set sidebar_short_path = yes
|
set sidebar_short_path = yes
|
||||||
|
|
||||||
|
@ -56,6 +56,8 @@ plugins=(git svn)
|
|||||||
# User configuration
|
# 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 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"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
@ -98,7 +100,7 @@ if [ -f /usr/bin/lsb_release ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $DISTRO = 'Debian' ]]; then
|
if [[ $DISTRO = 'Debian' ]]; then
|
||||||
alias archey='screenfetch'
|
alias archey='neofetch'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fun / Games
|
# Fun / Games
|
||||||
@ -168,3 +170,5 @@ alias ST='speedtest-cli'
|
|||||||
alias mutt='TERM=xterm-256color; neomutt'
|
alias mutt='TERM=xterm-256color; neomutt'
|
||||||
#alias UM='imapfilter; offlineimap'
|
#alias UM='imapfilter; offlineimap'
|
||||||
alias home='ssh -p 2222 moe@home.comprofix.com'
|
alias home='ssh -p 2222 moe@home.comprofix.com'
|
||||||
|
|
||||||
|
eval $(keychain --eval --quiet)
|
||||||
|
Reference in New Issue
Block a user