Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-12-03 21:38:13 +01:00
parent 314f2a37b4
commit 0df9d7aae3
Signed by: y0rune
GPG Key ID: F204C385F57EB348
5 changed files with 17 additions and 6 deletions

View File

@ -29,6 +29,7 @@ Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc' Plug 'roxma/vim-hug-neovim-rpc'
" Ruby " Ruby
Plug 'takkii/Bignyanco' Plug 'takkii/Bignyanco'
Plug 'uplus/deoplete-solargraph'
Plug 'deoplete-plugins/deoplete-jedi' Plug 'deoplete-plugins/deoplete-jedi'
Plug 'vim-ruby/vim-ruby' Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-rails' Plug 'tpope/vim-rails'
@ -39,7 +40,7 @@ Plug 'tpope/vim-rails'
" "
" Problem autocomplete " Problem autocomplete
" pip3 install --user pynvim " pip3 install --user pynvim
" pip install msgpack --user " pip3 install msgpack --user
call plug#end() call plug#end()
let g:deoplete#enable_at_startup = 1 let g:deoplete#enable_at_startup = 1
@ -135,7 +136,7 @@ cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
" latex " latex
let g:tex_flavor = "latex" let g:tex_flavor = "latex"
" autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw! " autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -interaction=nonstopmode % > /dev/null " | redraw! autocmd BufWritePost *.tex silent! execute "!pdflatex % > /dev/null " | redraw!
autocmd BufWritePost *.tex silent! execute "!latexmk -pdf -silent % > /dev/null" | redraw! autocmd BufWritePost *.tex silent! execute "!latexmk -pdf -silent % > /dev/null" | redraw!
autocmd BufWritePost *.tex silent! execute "!sudo rm -rf *.fls *.ilg *.nav *.snm *.toc *.idx *.lof *.lot *.synctex.gz *.aux *.fdb_latexmk *.fls *.log *.out > /dev/null" | redraw! autocmd BufWritePost *.tex silent! execute "!sudo rm -rf *.fls *.ilg *.nav *.snm *.toc *.idx *.lof *.lot *.synctex.gz *.aux *.fdb_latexmk *.fls *.log *.out > /dev/null" | redraw!
autocmd BufWritePost *.tex silent! execute "!sudo pkill -HUP mupdf > /dev/null" | redraw! autocmd BufWritePost *.tex silent! execute "!sudo pkill -HUP mupdf > /dev/null" | redraw!

View File

@ -11,7 +11,8 @@ ffmpeg \
-r 30 \ -r 30 \
-s 1920x1080 \ -s 1920x1080 \
-i :0 \ -i :0 \
-c:v h264 -crf 0 -preset ultrafast -c:a aac \ -b:v 5500k \
-c:v h264 -preset ultrafast -c:a aac \
"$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4" "$HOME/screencast-$(date '+%y%m%d-%H%M-%S').mp4"
xset s 600& xset s 600&

View File

@ -1,4 +1,9 @@
#!/bin/bash #!/bin/bash
echo
echo
echo -e $(date)
echo
echo
sudo /home/yorune/.local/bin/eix-repos-sync sudo /home/yorune/.local/bin/eix-repos-sync
sudo eix-sync -a sudo eix-sync -a
sudo eix-update sudo eix-update
@ -6,3 +11,8 @@ sudo eix-update
#sudo emerge --sync #sudo emerge --sync
#sudo emaint sync -a #sudo emaint sync -a
sudo emerge -auDN @world sudo emerge -auDN @world
echo
echo
echo -e $(date)
echo
echo

View File

@ -18,8 +18,8 @@ xautolock -time 15 -locker slock&
nm-applet --sm-disable& nm-applet --sm-disable&
#sudo /root/.local/bin/protonvpn c -f& #sudo /root/.local/bin/protonvpn c -f&
dunst -config& dunst -config&
browser-x& #browser-x&
QT_SCALE_FACTOR=1.5 keepassxc & #QT_SCALE_FACTOR=1.5 keepassxc &
/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n NEWSBOAT 'newsboat -r '\; new-window -n MUSIC 'cmus'"& /usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n NEWSBOAT 'newsboat -r '\; new-window -n MUSIC 'cmus'"&
#(sleep 30 && getforecast)& #(sleep 30 && getforecast)&
sudo /usr/bin/rdate -s ntp.task.gda.pl && sudo /sbin/hwclock --systohc sudo /usr/bin/rdate -s ntp.task.gda.pl && sudo /sbin/hwclock --systohc

1
.zshrc
View File

@ -88,7 +88,6 @@ alias code="vscodium-bin"
alias vpn="sudo /root/.local/bin/protonvpn c -f" alias vpn="sudo /root/.local/bin/protonvpn c -f"
alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH" alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH"
alias vpnd="sudo /root/.local/bin/protonvpn d" alias vpnd="sudo /root/.local/bin/protonvpn d"
alias prolog="swipl"
alias tv="~/MEGA/tv/tv.sh" alias tv="~/MEGA/tv/tv.sh"
alias newswork="newsboat --url=$HOME/.config/newsboat/urlswork" alias newswork="newsboat --url=$HOME/.config/newsboat/urlswork"
alias vim="nvim -p" alias vim="nvim -p"