arnaucube
arnaucube/configsPublic Self-hosted repository
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
commit

1dd38f1c40c42439469d1b9b131c9ddcc1bce475

parent

403cdf1ade50fd5c5865883e5053bae88d183617

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: