add picom
This commit is contained in:
parent
14795eb6dc
commit
a64e56babd
6 changed files with 58 additions and 3 deletions
32
_config/picom.conf
Normal file
32
_config/picom.conf
Normal 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
2
vim/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
autoload/
|
||||||
|
bundle/
|
1
vim/autoload/.gitignore
vendored
1
vim/autoload/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
*
|
|
1
vim/bundle/.gitignore
vendored
1
vim/bundle/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
*
|
|
23
vim/coc-settings.json
Normal file
23
vim/coc-settings.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -52,7 +52,7 @@ set smarttab
|
||||||
if empty(glob('~/.vim/autoload/plug.vim'))
|
if empty(glob('~/.vim/autoload/plug.vim'))
|
||||||
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
|
||||||
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
|
autocmd VimEnter * PlugInstall --sync | quit
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" begin vim-plug items
|
" begin vim-plug items
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue