Update dotfiles 10-1-22
This commit is contained in:
parent
670b49231e
commit
11b3f461bb
32
Makefile
32
Makefile
@ -96,12 +96,12 @@ update:
|
|||||||
[ -f ~/.config/calcurse/keys ] && cp ~/.config/calcurse/keys $(SRC)/calcurse/keys; \
|
[ -f ~/.config/calcurse/keys ] && cp ~/.config/calcurse/keys $(SRC)/calcurse/keys; \
|
||||||
fi
|
fi
|
||||||
#newsboat
|
#newsboat
|
||||||
@which newsboat > /dev/null 2>&1
|
#@which newsboat > /dev/null 2>&1
|
||||||
@if [ $$? -eq 0 ]; then \
|
#@if [ $$? -eq 0 ]; then \
|
||||||
echo "newsboat found! Updating config files with existing versions..."; \
|
# echo "newsboat found! Updating config files with existing versions..."; \
|
||||||
[ -f ~/.newsboat/config ] && cp ~/.newsboat/config $(SRC)/newsboat/config; \
|
# [ -f ~/.newsboat/config ] && cp ~/.newsboat/config $(SRC)/newsboat/config; \
|
||||||
[ -f ~/.newsboat/urls ] && cp ~/.newsboat/urls $(SRC)/newsboat/urls; \
|
# [ -f ~/.newsboat/urls ] && cp ~/.newsboat/urls $(SRC)/newsboat/urls; \
|
||||||
fi
|
#fi
|
||||||
#mpv
|
#mpv
|
||||||
@which mpv > /dev/null 2>&1
|
@which mpv > /dev/null 2>&1
|
||||||
@if [ $$? -eq 0 ]; then \
|
@if [ $$? -eq 0 ]; then \
|
||||||
@ -109,17 +109,17 @@ update:
|
|||||||
[ -f ~/.config/mpv/mpv.conf ] && cp ~/.config/mpv/mpv.conf $(SRC)/mpv/mpv.conf; \
|
[ -f ~/.config/mpv/mpv.conf ] && cp ~/.config/mpv/mpv.conf $(SRC)/mpv/mpv.conf; \
|
||||||
fi
|
fi
|
||||||
#compton
|
#compton
|
||||||
@which compton > /dev/null 2>&1
|
#@which compton > /dev/null 2>&1
|
||||||
@if [ $$? -eq 0 ]; then \
|
#@if [ $$? -eq 0 ]; then \
|
||||||
echo "compton found! Updating config files with existing versions..."; \
|
# echo "compton found! Updating config files with existing versions..."; \
|
||||||
[ -f ~/.config/compton.conf ] && cp ~/.config/compton.conf $(SRC)/compton/compton.conf; \
|
# [ -f ~/.config/compton.conf ] && cp ~/.config/compton.conf $(SRC)/compton/compton.conf; \
|
||||||
fi
|
#fi
|
||||||
#sc-im
|
#sc-im
|
||||||
@which sc-im > /dev/null 2>&1
|
#@which sc-im > /dev/null 2>&1
|
||||||
@if [ $$? -eq 0 ]; then \
|
#@if [ $$? -eq 0 ]; then \
|
||||||
echo "sc-im found! Updating config files with existing versions..."; \
|
# echo "sc-im found! Updating config files with existing versions..."; \
|
||||||
[ -f ~/.config/sc-im/scimrc ] && cp ~/.config/sc-im/scimrc $(SRC)/sc-im/scimrc; \
|
# [ -f ~/.config/sc-im/scimrc ] && cp ~/.config/sc-im/scimrc $(SRC)/sc-im/scimrc; \
|
||||||
fi
|
#fi
|
||||||
#aerc
|
#aerc
|
||||||
@which aerc > /dev/null 2>&1
|
@which aerc > /dev/null 2>&1
|
||||||
@if [ $$? -eq 0 ]; then \
|
@if [ $$? -eq 0 ]; then \
|
||||||
|
@ -1,18 +1,19 @@
|
|||||||
[Gmail]
|
[Gmail]
|
||||||
source = imaps://britishlink12%40gmail.com@imap.gmail.com:993
|
source = imaps://britishlink12%40gmail.com@imap.gmail.com:993
|
||||||
source-cred-cmd = pass email/britishlink12@gmail.com
|
outgoing = smtp+plain://britishlink12%40gmail.com@smtp.gmail.com:587
|
||||||
outgoing = smtps+plain://britishlink12%40gmail.com@smtp.gmail.com:465
|
|
||||||
outgoing-cred-cmd = pass email/britishlink12@gmail.com
|
|
||||||
default = INBOX
|
default = INBOX
|
||||||
|
smtp-starttls = yes
|
||||||
from = Tyler Perkins <britishlink12@gmail.com>
|
from = Tyler Perkins <britishlink12@gmail.com>
|
||||||
copy-to = Sent
|
copy-to = Sent
|
||||||
|
outgoing-cred-cmd = pass email/britishlink12@gmail.com
|
||||||
|
source-cred-cmd = pass email/britishlink12@gmail.com
|
||||||
|
|
||||||
[School]
|
[School]
|
||||||
source = imaps://tperki17%40kent.edu@imap.gmail.com
|
source = imaps://tperki17%40kent.edu@imap.gmail.com
|
||||||
source-cred-cmd = pass email/tperki17@kent.edu
|
|
||||||
outgoing = smtps+plain://tperki17%40kent.edu@smtp.gmail.com
|
outgoing = smtps+plain://tperki17%40kent.edu@smtp.gmail.com
|
||||||
outgoing-cred-cmd = pass email/tperki17@kent.edu
|
|
||||||
default = INBOX
|
default = INBOX
|
||||||
from = Tyler Perkins <tperki17@kent.edu>
|
from = Tyler Perkins <tperki17@kent.edu>
|
||||||
copy-to = Sent
|
copy-to = Sent
|
||||||
|
outgoing-cred-cmd = pass email/tperki17@kent.edu
|
||||||
|
source-cred-cmd = pass email/tperki17@kent.edu
|
||||||
|
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
|
# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
|
||||||
# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
|
# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
|
||||||
<C-p> = :prev-tab<Enter>
|
<C-p> = :prev-tab<Enter>
|
||||||
H = :prev-tab<Enter>
|
|
||||||
<C-n> = :next-tab<Enter>
|
<C-n> = :next-tab<Enter>
|
||||||
L = :next-tab<Enter>
|
|
||||||
<C-t> = :term<Enter>
|
<C-t> = :term<Enter>
|
||||||
|
|
||||||
[messages]
|
[messages]
|
||||||
@ -27,11 +25,13 @@ G = :select -1<Enter>
|
|||||||
J = :next-folder<Enter>
|
J = :next-folder<Enter>
|
||||||
K = :prev-folder<Enter>
|
K = :prev-folder<Enter>
|
||||||
|
|
||||||
|
L = :next-tab<Enter>
|
||||||
|
H = :prev-tab<Enter>
|
||||||
|
|
||||||
v = :mark -t<Enter>
|
v = :mark -t<Enter>
|
||||||
V = :mark -v<Enter>
|
V = :mark -v<Enter>
|
||||||
|
|
||||||
<Enter> = :view<Enter>
|
<Enter> = :view<Enter>
|
||||||
l = :view<Enter>
|
|
||||||
d = :prompt 'Really delete this message?' 'delete-message'<Enter>
|
d = :prompt 'Really delete this message?' 'delete-message'<Enter>
|
||||||
D = :delete<Enter>
|
D = :delete<Enter>
|
||||||
A = :archive flat<Enter>
|
A = :archive flat<Enter>
|
||||||
@ -71,8 +71,6 @@ H = :toggle-headers<Enter>
|
|||||||
<C-j> = :next-part<Enter>
|
<C-j> = :next-part<Enter>
|
||||||
J = :next<Enter>
|
J = :next<Enter>
|
||||||
K = :prev<Enter>
|
K = :prev<Enter>
|
||||||
h = :close<Enter>
|
|
||||||
o = :open
|
|
||||||
|
|
||||||
[compose]
|
[compose]
|
||||||
# Keybindings used when the embedded terminal is not selected in the compose
|
# Keybindings used when the embedded terminal is not selected in the compose
|
||||||
|
@ -41,13 +41,19 @@ alias weather="curl wttr.in"
|
|||||||
alias http="python -m http.server"
|
alias http="python -m http.server"
|
||||||
alias google="tuxi"
|
alias google="tuxi"
|
||||||
alias clipboard="xclip -selection clipboard"
|
alias clipboard="xclip -selection clipboard"
|
||||||
alias new-wallpaper="xwallpaper --maximize $(find /home/tyler/.desktop/wallpaper/ -type f | shuf -n 1 --random-source=/dev/random)"
|
alias new-wallpaper="feh --bg-fill --randomize ~/.desktop/wallpaper/"
|
||||||
|
alias set-motd="vim /home/tyler/.desktop/alarm/motd.txt"
|
||||||
|
|
||||||
alias diff="diff --color=auto"
|
alias diff="diff --color=auto"
|
||||||
alias grep="grep -i --color=auto"
|
alias grep="grep -i --color=auto"
|
||||||
alias mv="mv -v"
|
alias mv="mv -v"
|
||||||
alias nnn="nnn -e"
|
alias nnn="nnn -e"
|
||||||
alias sudo="doas"
|
alias sudo="doas"
|
||||||
|
alias arduino="_JAVA_AWT_WM_NONREPARENTING=1 arduino"
|
||||||
|
alias logisim-evolution="_JAVA_AWT_WM_NONREPARENTING=1 logisim-evolution"
|
||||||
|
alias vifm="vifmrun"
|
||||||
|
alias svn="colorsvn"
|
||||||
|
alias f="vifm"
|
||||||
|
|
||||||
alias sched="vim /home/tyler/school/Sched.txt"
|
alias sched="vim /home/tyler/school/Sched.txt"
|
||||||
alias disable-alarm=". /home/tyler/.desktop/alarm/disable-alarm.sh"
|
alias disable-alarm=". /home/tyler/.desktop/alarm/disable-alarm.sh"
|
||||||
@ -55,14 +61,14 @@ alias memes-down="rsync -azPv tyler@174.104.135.12:/media/hd/memes/ /media/hd/me
|
|||||||
alias memes-up="rsync -azPv /media/hd/memes/ tyler@174.104.135.12:/media/hd/memes/"
|
alias memes-up="rsync -azPv /media/hd/memes/ tyler@174.104.135.12:/media/hd/memes/"
|
||||||
|
|
||||||
#vim opens vim wiki by default, else the file
|
#vim opens vim wiki by default, else the file
|
||||||
function vimw(){
|
#function vimw(){
|
||||||
if [ $# -eq 0 ]; then
|
# if [ $# -eq 0 ]; then
|
||||||
vim ~/vimwiki/splash.wiki
|
# vim ~/vimwiki/splash.wiki
|
||||||
else
|
# else
|
||||||
vim $@
|
# vim $@
|
||||||
fi
|
# fi
|
||||||
}
|
#}
|
||||||
alias vim="vimw"
|
#alias vim="vimw"
|
||||||
|
|
||||||
|
|
||||||
#display colors
|
#display colors
|
||||||
@ -83,3 +89,4 @@ echo -e "${_PROMPT_HEAD_}#EIp : ${_PROMPT_VAR_}$(ifconfig eno1 | grep -Eo 'inet
|
|||||||
echo -e "${_PROMPT_HEAD_}#PIp : ${_PROMPT_VAR_}$(curl -s ipinfo.io/ip)"
|
echo -e "${_PROMPT_HEAD_}#PIp : ${_PROMPT_VAR_}$(curl -s ipinfo.io/ip)"
|
||||||
echo -e "${_PROMPT_HEAD_}#Time: ${_PROMPT_VAR_}$(date +"%T")"
|
echo -e "${_PROMPT_HEAD_}#Time: ${_PROMPT_VAR_}$(date +"%T")"
|
||||||
echo -e "${_PROMPT_HEAD_}#Batt: ${_PROMPT_VAR_}${_BATTERY_}%"
|
echo -e "${_PROMPT_HEAD_}#Batt: ${_PROMPT_VAR_}${_BATTERY_}%"
|
||||||
|
echo -e "${_PROMPT_HEAD_}#${_PROMPT_VAR_}\x1b[3m $(shuf -n 1 ~/.desktop/messages.txt) "
|
||||||
|
@ -15,7 +15,6 @@ call vundle#begin()
|
|||||||
Plugin 'VundleVim/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
"add plugins here
|
"add plugins here
|
||||||
"Plugin 'ycm-core/YouCompleteMe'
|
|
||||||
|
|
||||||
Plugin 'tpope/vim-surround'
|
Plugin 'tpope/vim-surround'
|
||||||
Plugin 'preservim/nerdtree'
|
Plugin 'preservim/nerdtree'
|
||||||
@ -26,6 +25,7 @@ Plugin 'jamessan/vim-gnupg'
|
|||||||
Plugin 'vim-syntastic/syntastic'
|
Plugin 'vim-syntastic/syntastic'
|
||||||
Plugin 'airblade/vim-gitgutter'
|
Plugin 'airblade/vim-gitgutter'
|
||||||
Plugin 'vimwiki/vimwiki'
|
Plugin 'vimwiki/vimwiki'
|
||||||
|
Plugin 'ekalinin/Dockerfile.vim'
|
||||||
|
|
||||||
"Appearence
|
"Appearence
|
||||||
Plugin 'ap/vim-css-color'
|
Plugin 'ap/vim-css-color'
|
||||||
@ -35,6 +35,11 @@ Plugin 'itchyny/lightline.vim'
|
|||||||
"hard mode
|
"hard mode
|
||||||
Plugin 'takac/vim-hardtime'
|
Plugin 'takac/vim-hardtime'
|
||||||
|
|
||||||
|
"reference
|
||||||
|
Plugin 'dbeniamine/cheat.sh-vim'
|
||||||
|
Plugin 'moll/vim-node'
|
||||||
|
|
||||||
|
|
||||||
"end plugins
|
"end plugins
|
||||||
|
|
||||||
"end
|
"end
|
||||||
@ -58,6 +63,7 @@ highlight SyntasticError guibg=#2f0000
|
|||||||
highlight link SyntasticErrorLine error
|
highlight link SyntasticErrorLine error
|
||||||
highlight link SyntasticWarningLine todo
|
highlight link SyntasticWarningLine todo
|
||||||
|
|
||||||
|
|
||||||
let g:syntastic_always_populate_loc_list = 1
|
let g:syntastic_always_populate_loc_list = 1
|
||||||
"let g:syntastic_auto_loc_list = 1
|
"let g:syntastic_auto_loc_list = 1
|
||||||
let g:syntastic_check_on_open = 1
|
let g:syntastic_check_on_open = 1
|
||||||
@ -67,6 +73,8 @@ let g:syntastic_c_remove_include_errors = 1
|
|||||||
let g:syntastic_cpp_compiler = "g++"
|
let g:syntastic_cpp_compiler = "g++"
|
||||||
let g:syntastic_cpp_compiler_options = "-Wall -Wextra"
|
let g:syntastic_cpp_compiler_options = "-Wall -Wextra"
|
||||||
|
|
||||||
|
let g:syntastic_asm_checkers = ['nasm']
|
||||||
|
|
||||||
let g:GPGFilePattern = '*.\(gpg\|asc\|pgp\|gpg\)\(.wiki\)\='
|
let g:GPGFilePattern = '*.\(gpg\|asc\|pgp\|gpg\)\(.wiki\)\='
|
||||||
|
|
||||||
"clear sign column
|
"clear sign column
|
||||||
@ -166,7 +174,8 @@ function! Compile()
|
|||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let g:vimwiki_list = [{'path': '$HOME/vimwiki', 'template_path': '$HOME/vimwiki/templates/', 'template_default': 'default', 'template_ext': '.php'}]
|
let g:vimwiki_list = [{'path': '$HOME/vimwiki', 'path_html': '$HOME/vimwiki/.html', 'template_path': '$HOME/vimwiki/templates/', 'template_default': 'default', 'template_ext': '.php'}]
|
||||||
|
|
||||||
noremap <leader>p :call Preview()<CR><CR><CR>
|
noremap <leader>p :call Preview()<CR><CR><CR>
|
||||||
noremap <leader>q :call Compile()<CR><CR>
|
noremap <leader>q :call Compile()<CR><CR>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user