diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a7d59d9..b92ceba 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -29,6 +29,7 @@ Plug 'roxma/nvim-yarp' Plug 'roxma/vim-hug-neovim-rpc' " Ruby Plug 'takkii/Bignyanco' +Plug 'uplus/deoplete-solargraph' Plug 'deoplete-plugins/deoplete-jedi' Plug 'vim-ruby/vim-ruby' Plug 'tpope/vim-rails' @@ -39,7 +40,7 @@ Plug 'tpope/vim-rails' " " Problem autocomplete " pip3 install --user pynvim -" pip install msgpack --user +" pip3 install msgpack --user call plug#end() let g:deoplete#enable_at_startup = 1 @@ -135,7 +136,7 @@ cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' edit! " 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 -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 "!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! diff --git a/.local/bin/record b/.local/bin/record index 1ef9109..47080ee 100755 --- a/.local/bin/record +++ b/.local/bin/record @@ -11,7 +11,8 @@ ffmpeg \ -r 30 \ -s 1920x1080 \ -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" xset s 600& diff --git a/.local/bin/update b/.local/bin/update index b471576..57e9873 100755 --- a/.local/bin/update +++ b/.local/bin/update @@ -1,4 +1,9 @@ #!/bin/bash +echo +echo +echo -e $(date) +echo +echo sudo /home/yorune/.local/bin/eix-repos-sync sudo eix-sync -a sudo eix-update @@ -6,3 +11,8 @@ sudo eix-update #sudo emerge --sync #sudo emaint sync -a sudo emerge -auDN @world +echo +echo +echo -e $(date) +echo +echo diff --git a/.xinitrc b/.xinitrc index 8787103..221a7a7 100644 --- a/.xinitrc +++ b/.xinitrc @@ -18,8 +18,8 @@ xautolock -time 15 -locker slock& nm-applet --sm-disable& #sudo /root/.local/bin/protonvpn c -f& dunst -config& -browser-x& -QT_SCALE_FACTOR=1.5 keepassxc & +#browser-x& +#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'"& #(sleep 30 && getforecast)& sudo /usr/bin/rdate -s ntp.task.gda.pl && sudo /sbin/hwclock --systohc diff --git a/.zshrc b/.zshrc index 8ae3d56..9b1bef2 100644 --- a/.zshrc +++ b/.zshrc @@ -88,7 +88,6 @@ alias code="vscodium-bin" alias vpn="sudo /root/.local/bin/protonvpn c -f" alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH" alias vpnd="sudo /root/.local/bin/protonvpn d" -alias prolog="swipl" alias tv="~/MEGA/tv/tv.sh" alias newswork="newsboat --url=$HOME/.config/newsboat/urlswork" alias vim="nvim -p"