add picom

This commit is contained in:
Mark Riedesel 2020-05-19 13:08:50 -04:00
parent 14795eb6dc
commit a64e56babd
6 changed files with 58 additions and 3 deletions

32
_config/picom.conf Normal file
View file

@ -0,0 +1,32 @@
#backend = "xrender";
mark-wmwin-focused = true;
detect-client-opacity = true;
refresh-rate = 0;
sync = "none";
detect-transient = true;
detect-client-leader = true;
fading = true;
fade-delta = 20;
fade-in-step = 0.2;
fade-out-step = 0.2;
blur-kern = "3x3box"
blur-background = false;
### Shadows
shadow = true;
shadow-opacity = 0.3;
#shadow-radius = 3;
shadow-exclude = [
"class_g = 'slop'",
]
opacity-rule = [
"98:class_g = 'kitty' && focused",
"95:class_g = 'kitty' && !focused",
"98:name *= 'polybar'"
];
# other
unredir-if-possible = true;

2
vim/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
autoload/
bundle/

View file

@ -1 +0,0 @@
*

View file

@ -1 +0,0 @@
*

23
vim/coc-settings.json Normal file
View file

@ -0,0 +1,23 @@
{
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": [
"c",
"cpp"
],
"rootPatterns": [
".ccls",
".git/",
".hg/",
".vim/",
"compile_commands.json"
],
"initializationOptions":{
"cache": {
"directory": "/tmp/ccls"
}
}
}
}
}

View file

@ -52,7 +52,7 @@ set smarttab
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
autocmd VimEnter * PlugInstall --sync | quit
endif
" begin vim-plug items