mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
nvim add shortcut for light/dark theme, add brightness scripts, add netplan-config
This commit is contained in:
9
init.vim
9
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
|
||||
@@ -81,6 +79,9 @@ Plug 'autozimu/LanguageClient-neovim', {
|
||||
\ 'do': 'bash install.sh',
|
||||
\ }
|
||||
|
||||
" focus mode
|
||||
Plug 'junegunn/goyo.vim'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" visual
|
||||
@@ -219,4 +220,8 @@ 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
|
||||
|
||||
2
launch-scripts/brightnesshigh.sh
Executable file
2
launch-scripts/brightnesshigh.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo "6800" > /sys/class/backlight/intel_backlight/brightness
|
||||
2
launch-scripts/brightnesslow.sh
Executable file
2
launch-scripts/brightnesslow.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
echo "2000" > /sys/class/backlight/intel_backlight/brightness
|
||||
@@ -1,4 +1,5 @@
|
||||
# static ip configuration
|
||||
# /etc/netplan/50-cloud-init.yaml
|
||||
|
||||
network:
|
||||
ethernets:
|
||||
|
||||
Reference in New Issue
Block a user