nvim add shortcut for light/dark theme, add brightness scripts, add netplan-config
arnaucube root@arnaucube.com
Fri, 29 May 2020 00:00:15 +0200
4 files changed,
12 insertions(+),
2 deletions(-)
M
init.vim
→
init.vim
@@ -70,8 +70,6 @@ Plug 'tomasr/molokai'
Plug 'srcery-colors/srcery-vim' Plug 'rakr/vim-one' Plug 'morhetz/gruvbox' -Plug 'toupeira/vim-desertink' -Plug 'maksimr/Lucius2' let g:srcery_italic = 1 " errors@@ -80,6 +78,9 @@ Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next', \ 'do': 'bash install.sh', \ } + +" focus mode +Plug 'junegunn/goyo.vim' call plug#end()@@ -218,5 +219,9 @@ au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit
" for file watching 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
A
launch-scripts/brightnesshigh.sh
@@ -0,0 +1,2 @@
+#!/bin/sh +echo "6800" > /sys/class/backlight/intel_backlight/brightness
A
launch-scripts/brightnesslow.sh
@@ -0,0 +1,2 @@
+#!/bin/sh +echo "2000" > /sys/class/backlight/intel_backlight/brightness
M
raspberry/netplan-config.yaml
→
raspberry/netplan-config.yaml
@@ -1,4 +1,5 @@
# static ip configuration +# /etc/netplan/50-cloud-init.yaml network: ethernets: