diff --git a/.local/bin/browser-x b/.local/bin/browser-x index 9e2dbd2..c8de0df 100755 --- a/.local/bin/browser-x +++ b/.local/bin/browser-x @@ -1,3 +1,3 @@ #!/bin/bash -GDK_DPI_SCALE="1.3" firefox -#google-chrome-stable --force-device-scale-factor=1.2& +#GDK_DPI_SCALE="1.3" firefox +brave-bin --force-device-scale-factor=1.2& diff --git a/.local/bin/ssh-permissions b/.local/bin/ssh-permissions index b88cb46..5fb6cde 100755 --- a/.local/bin/ssh-permissions +++ b/.local/bin/ssh-permissions @@ -2,9 +2,5 @@ chmod 700 ~/.ssh chmod 644 ~/.ssh/authorized_keys chmod 644 ~/.ssh/known_hosts chmod 644 ~/.ssh/config -chmod 600 ~/.ssh/id_rsa -chmod 644 ~/.ssh/id_rsa.pub -chmod 600 ~/.ssh/github_rsa -chmod 644 ~/.ssh/github_rsa.pub -chmod 600 ~/.ssh/mozilla_rsa -chmod 644 ~/.ssh/mozilla_rsa.pub +chmod 400 ~/.ssh/id_rsa +chmod 400 ~/.ssh/id_rsa.pub diff --git a/.vimrc b/.vimrc index aea7135..f443e56 100644 --- a/.vimrc +++ b/.vimrc @@ -1,4 +1,10 @@ " settings +if ! filereadable(system('echo -n "$HOME/.vim/autoload/plug.vim"')) + silent !mkdir -p $HOME/.vim/autoload/ + silent !curl --silent "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > $HOME/.vim/autoload/plug.vim + autocmd VimEnter * PlugInstall +endif + set laststatus=2 set shiftwidth=4 set softtabstop=4 @@ -70,12 +76,12 @@ hi CursorLine cterm=NONE term=NONE ctermbg=NONE guibg=NONE hi CursorLine ctermbg=235 " map +nnoremap S :%s//g nnoremap ee :!mupdf $(echo % \| sed 's/tex$/pdf/') & disown map :NERDTreeToggle nnoremap :tabnew nnoremap :Goyo nnoremap :tabprevious -nnoremap ww :w! nnoremap :tabnext nnoremap :GoRun