literate-dotfiles/compositor.org
Thomas Dehaeze 3e97711adc Change indentation of all blocks.
Use (setq org-src-preserve-indentation t) for Emacs.
2021-01-08 01:26:27 +01:00

57 lines
1.1 KiB
Org Mode

#+TITLE: Picom (Compositor)
#+SETUPFILE: ./setup/org-setup-file.org
#+PROPERTY: header-args :tangle ~/.config/picom/picom.conf
#+PROPERTY: header-args+ :comments both :mkdirp yes
* Shadow
#+BEGIN_SRC conf
shadow = true;
shadow-radius = 12;
shadow-offset-x = -12;
shadow-offset-y = -12;
shadow-exclude = [
"name = 'Notification'",
"window_type = 'dock'",
"window_type = 'dnd'",
"class_g = 'VirtualBox'",
"class_g ?= 'Notify-osd'",
"name = 'cpt_frame_window'", # For zoom problem when sharing screen
"class_g = 'stalonetray'"
];
#+END_SRC
* Opacity
#+BEGIN_SRC conf
inactive-opacity = 1.0;
frame-opacity = 1.0;
inactive-opacity-override = false;
#+END_SRC
* Fading
#+BEGIN_SRC conf
fading = false;
fade-in-step = 0.03;
fade-out-step = 0.03;
#+END_SRC
* Other
#+BEGIN_SRC conf
backend = "xrender";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
#+END_SRC
* Window Type Setting
#+begin_src conf
wintypes:
{
tooltip = { fade = true; shadow = true; focus = true; full-shadow = false; };
dock = { shadow = false; }
dnd = { shadow = false; }
};
#+end_src