aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-12-27 13:57:22 +0100
committerlonkaars <loek@pipeframe.xyz>2021-12-27 13:57:22 +0100
commit7c9e27da43f27aab54b788990c3d80f6a90d64f3 (patch)
tree1ace6fa215245133097bfd780b1670c6865210ef
parent5f84955b0626ca1446f7356025a95e4c574b50f4 (diff)
dots update
-rw-r--r--.config/coc/extensions/package.json2
-rw-r--r--.config/nvim/coc-settings.json11
-rw-r--r--.config/nvim/init.vim16
-rw-r--r--.config/polybar/config1
-rw-r--r--.config/startpage/index.html4
-rwxr-xr-x.local/share/bin/mode8
-rw-r--r--.zshrc3
7 files changed, 33 insertions, 12 deletions
diff --git a/.config/coc/extensions/package.json b/.config/coc/extensions/package.json
index 13fb87c..9a8b236 100644
--- a/.config/coc/extensions/package.json
+++ b/.config/coc/extensions/package.json
@@ -8,7 +8,7 @@
"coc-json": ">=1.2.6",
"coc-neosnippet": ">=1.2.2",
"coc-python": ">=1.2.12",
- "coc-rls": ">=1.1.6",
+ "coc-rust-analyzer": ">=0.54.0",
"coc-tsserver": ">=1.5.8",
"coc-vimtex": ">=1.0.4"
}
diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json
index b98f17d..49d45e0 100644
--- a/.config/nvim/coc-settings.json
+++ b/.config/nvim/coc-settings.json
@@ -17,6 +17,17 @@
],
"filetypes": ["dart"],
"trace.server": "verbose"
+ },
+ "arduino":{
+ "command":"/usr/bin/arduino-language-server",
+ "rootPatterns":["*.ino"],
+ "filetypes":["arduino"],
+ "args":["-cli", "/bin/arduino-cli", "-clangd", "/bin/clangd", "-cli-config", "/home/loek/.arduino15/arduino-cli.yaml"]
+ },
+ "sql": {
+ "command": "sql-language-server",
+ "args" : ["up", "--method", "stdio"],
+ "filetypes": ["sql", "mysql"]
}
}
}
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 713ea80..8855d5d 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -93,6 +93,15 @@ Plug 'morhetz/gruvbox'
Plug '~/.config/nvim/local/bliss'
Plug '~/.config/nvim/local/polarlight.vim'
Plug 'lonkaars/blubber'
+
+" tryout themes
+Plug 'https://github.com/mcchrish/zenbones.nvim'
+Plug 'https://github.com/Mangeshrex/uwu.vim'
+Plug 'https://github.com/metalelf0/jellybeans-nvim'
+Plug 'https://github.com/lifepillar/vim-wwdc17-theme'
+Plug 'https://github.com/jdsimcoe/abstract.vim'
+Plug 'https://github.com/ts-26a/vim-darkspace'
+Plug 'https://github.com/iandwelker/rose-pine-vim'
call plug#end()
" keybinds
@@ -110,6 +119,8 @@ imap <C-j> <Down>
imap <C-k> <Up>
imap <C-l> <Right>
+command WordQuotesToLatex :%s/‘/`/g | :%s/’/'/g
+
" leader keybindings
nnoremap <silent> <leader> :WhichKey '<space>'<CR>
@@ -243,7 +254,7 @@ let g:lightline = {
\ [ 'readonly', 'filename', 'modified']
\ ],
\ 'right': [
- \ [ 'gitbranch', 'lineinfo' ]
+ \ [ 'lineinfo' ]
\ ]
\ },
\ 'inactive': {
@@ -252,9 +263,6 @@ let g:lightline = {
\ ],
\ 'right': [ ]
\ },
- \ 'component_function': {
- \ 'gitbranch': 'gitbranch#name'
- \ },
\ }
let g:lightline.tabline = {
\ 'left': [ [ 'tabs' ] ],
diff --git a/.config/polybar/config b/.config/polybar/config
index b89d8e9..5d52381 100644
--- a/.config/polybar/config
+++ b/.config/polybar/config
@@ -40,6 +40,7 @@ module-margin-right = 1
font-0 = "JetBrains Mono Nerd Font:pixelsize=9:weight=regular:size=0;2"
font-1 = "JetBrains Mono Nerd Font:pixelsize=9:weight=bold:size=0;2"
font-2 = "Material Design Icons:size=12;2"
+font-3 = "mplus Nerd Font:pixelsize=9:weight=bold:size=0;2"
modules-left = time date
modules-center = weather mpd
diff --git a/.config/startpage/index.html b/.config/startpage/index.html
index fdee88f..dee74c5 100644
--- a/.config/startpage/index.html
+++ b/.config/startpage/index.html
@@ -36,9 +36,9 @@
</div>
<div class="column">
<h3 style="color: var(--color1)">school</h3>
- <a href="https://www.montiplaza.nl/">montiplaza</a>
- <a href="https://mcnijmegen.zportal.nl/app/">zermelo</a>
+ <a href="https://brightspace.avans.nl/d2l/home">brightspace</a>
<a href="https://pim.etesync.com/">etesync</a>
+ <a href="https://avans.mobius.cloud/">möbius</a>
</div>
</div>
</div>
diff --git a/.local/share/bin/mode b/.local/share/bin/mode
index 904ff03..5d8e7f1 100755
--- a/.local/share/bin/mode
+++ b/.local/share/bin/mode
@@ -97,16 +97,16 @@ reload_terms() {
\033]4;15;$(get_color color15)\007
EOF
escape_msgs=$(printf "$escape_msgs" | tr -d '\n')
- find /dev/pts -exec sh -c "printf \"$escape_msgs\n\" > {}" \; 2> /dev/null
+ find /dev/pts -exec sh -c "printf \"$escape_msgs\" > {}" \; 2> /dev/null
}
reload_dunst() {
killall dunst
- dunst & disown
+ dunst &> /dev/null & disown
}
reload_polybar() {
- polybar-msg cmd restart
+ polybar-msg cmd restart &> /dev/null
}
switch_cfgs() {
@@ -118,7 +118,7 @@ switch_cfgs() {
switch_gtk $1
echo $1 > ~/.local/share/mode/active
- rm ~/.local/share/mode/dark ~/.local/share/mode/light
+ rm ~/.local/share/mode/dark ~/.local/share/mode/light 2> /dev/null
touch ~/.local/share/mode/$1
}
diff --git a/.zshrc b/.zshrc
index b66ae41..72e9e00 100644
--- a/.zshrc
+++ b/.zshrc
@@ -37,8 +37,9 @@ alias dnd="dragon-drag-and-drop -x"
alias scdl="scdl --onlymp3 -l"
alias screenrecord='giph -f 60 -s -b 4 -c 255,255,255 $(date +"$HOME/%Y-%m-%d_%H-%M-%S.mp4")'
alias deemix="deemix -b FLAC -p ~/dl"
+alias docxtopdf="soffice --headless --convert-to pdf"
-function = () { python3 -c "print($*)" }
+function = () { python3 -c "from math import *; deg = pi / 180; print($*)" }
aliases[=]="noglob ="
alias 16="python3 -c 'import sys;print(f\"{int(sys.stdin.read().strip()):x}\")'"