nvim add shortcut for light/dark theme, add brightness scripts, add netplan-config

This commit is contained in:
arnaucube
2020-05-29 00:00:15 +02:00
parent 403cdf1ade
commit 1dd38f1c40
4 changed files with 12 additions and 2 deletions

View File

@@ -70,8 +70,6 @@ Plug 'tomasr/molokai'
Plug 'srcery-colors/srcery-vim' Plug 'srcery-colors/srcery-vim'
Plug 'rakr/vim-one' Plug 'rakr/vim-one'
Plug 'morhetz/gruvbox' Plug 'morhetz/gruvbox'
Plug 'toupeira/vim-desertink'
Plug 'maksimr/Lucius2'
let g:srcery_italic = 1 let g:srcery_italic = 1
" errors " errors
@@ -81,6 +79,9 @@ Plug 'autozimu/LanguageClient-neovim', {
\ 'do': 'bash install.sh', \ 'do': 'bash install.sh',
\ } \ }
" focus mode
Plug 'junegunn/goyo.vim'
call plug#end() call plug#end()
" visual " visual
@@ -219,4 +220,8 @@ au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit
" for file watching " for file watching
set backupcopy=yes set backupcopy=yes
" shortcut for theme change
nnoremap <F9> :colorscheme molokai \| set background=dark<CR>
nnoremap <F10> :colorscheme one \| set background=light<CR>
colorscheme molokai colorscheme molokai

View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo "6800" > /sys/class/backlight/intel_backlight/brightness

View File

@@ -0,0 +1,2 @@
#!/bin/sh
echo "2000" > /sys/class/backlight/intel_backlight/brightness

View File

@@ -1,4 +1,5 @@
# static ip configuration # static ip configuration
# /etc/netplan/50-cloud-init.yaml
network: network:
ethernets: ethernets: