2019-12-30 17:21:22 +01:00
|
|
|
#+TITLE: Picom (Compositor)
|
2021-01-01 20:12:34 +01:00
|
|
|
#+SETUPFILE: ./setup/org-setup-file.org
|
2020-01-11 22:04:28 +01:00
|
|
|
|
2020-11-03 11:34:58 +01:00
|
|
|
#+PROPERTY: header-args :tangle ~/.config/picom/picom.conf
|
|
|
|
#+PROPERTY: header-args+ :comments both :mkdirp yes
|
2019-12-30 17:21:22 +01:00
|
|
|
|
|
|
|
* Shadow
|
|
|
|
#+BEGIN_SRC conf
|
|
|
|
shadow = true;
|
|
|
|
shadow-radius = 12;
|
|
|
|
shadow-offset-x = -12;
|
|
|
|
shadow-offset-y = -12;
|
|
|
|
shadow-exclude = [
|
2020-11-03 11:34:58 +01:00
|
|
|
"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'"
|
2019-12-30 17:21:22 +01:00
|
|
|
];
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* Opacity
|
|
|
|
#+BEGIN_SRC conf
|
2020-11-03 11:34:58 +01:00
|
|
|
inactive-opacity = 1.0;
|
|
|
|
frame-opacity = 1.0;
|
2019-12-30 17:21:22 +01:00
|
|
|
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:
|
|
|
|
{
|
2020-11-03 11:34:58 +01:00
|
|
|
tooltip = { fade = true; shadow = true; focus = true; full-shadow = false; };
|
|
|
|
dock = { shadow = false; }
|
|
|
|
dnd = { shadow = false; }
|
2019-12-30 17:21:22 +01:00
|
|
|
};
|
|
|
|
#+end_src
|