Fix redshift and missing vim file
This commit is contained in:
parent
62db272455
commit
c41ccca3b8
3 changed files with 17 additions and 2 deletions
15
apps/neovim/plugin-manager.vim
Normal file
15
apps/neovim/plugin-manager.vim
Normal file
|
@ -0,0 +1,15 @@
|
|||
" install plugin manager if needed
|
||||
augroup PluginManagerInstaller
|
||||
if has('nvim')
|
||||
if empty(glob('~/.config/nvim/autoload/plug.vim'))
|
||||
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
autocmd VimEnter * PlugInstall
|
||||
endif
|
||||
else
|
||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
autocmd VimEnter * PlugInstall
|
||||
endif
|
||||
end
|
||||
augroup End
|
||||
|
|
@ -29,7 +29,7 @@ if command -v xss-lock >/dev/null 2>&1; then
|
|||
fi
|
||||
|
||||
if command -v redshift >/dev/null 2>&1; then
|
||||
redshift &
|
||||
redshift -r -l 39.0997:-94.5786 -t 6500K:3000K &
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.env_xprofile" ]; then
|
||||
|
|
|
@ -104,7 +104,7 @@ alias sctl="sudo systemctl"
|
|||
alias btctl="sudo bluetoothctl"
|
||||
alias pt="htop -t" # experimental htop tree-view-by-default
|
||||
alias resrc="source \$HOME/.bashrc"
|
||||
alias redshift="redshift -l 39.0997:-94.5786"
|
||||
alias redshift="redshift -r -l 39.0997:-94.5786 -t 6500K:2500K"
|
||||
alias gpmdpe="electron --app=/usr/share/gpmdp/resources/app.asar"
|
||||
alias t="task"
|
||||
|
||||
|
|
Reference in a new issue