Quick Picom reorganization

This commit is contained in:
Lucien Cartier-Tilet 2020-04-09 16:33:36 +02:00
parent 8def87a019
commit 906634153c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -15,6 +15,7 @@
- [[#introduction][Introduction]] - [[#introduction][Introduction]]
- [[#shadows][Shadows]] - [[#shadows][Shadows]]
- [[#deprecated-options][Deprecated options]] - [[#deprecated-options][Deprecated options]]
- [[#rounded-corners][Rounded corners]]
- [[#fading][Fading]] - [[#fading][Fading]]
- [[#transparency-and-opacity][Transparency and opacity]] - [[#transparency-and-opacity][Transparency and opacity]]
- [[#background-blurring][Background blurring]] - [[#background-blurring][Background blurring]]
@ -36,7 +37,8 @@
:END: :END:
The following enables client-side shadows on windows. Note desktop windows The following enables client-side shadows on windows. Note desktop windows
(windows with ~_NET_WM_WINDOW_TYPE_DESKTOP~) never get shadow, unless (windows with ~_NET_WM_WINDOW_TYPE_DESKTOP~) never get shadow, unless
explicitly requested using the wintypes option. explicitly requested using the wintypes option. I personally deactivated
shadows because they dont work out too well with rounded corners.
#+BEGIN_SRC conf #+BEGIN_SRC conf
shadow = false; shadow = false;
#+END_SRC #+END_SRC
@ -144,6 +146,24 @@
shadow-ignore-shaped = "" shadow-ignore-shaped = ""
#+END_SRC #+END_SRC
* Rounded corners
:PROPERTIES:
:CUSTOM_ID: h-c4fd6ef1-d22e-40a1-af15-dc6e83f6c899
:END:
A great feature added by ibhagwans fork of compton is the addition of rounded
corners from sdhands fork, and the Kawase blur (described [[#h-e40a644d-b594-41f0-9aca-307f77c456ba][here]]) from
tryone144s fork. Here we can see the declaration of the corners radius:
#+BEGIN_SRC conf
corner-radius = 9.0;
#+END_SRC
It is also possible to exclude some windows from getting their corners
rounded:
#+BEGIN_SRC conf
rounded-corners-exclude = [];
#+END_SRC
* Fading * Fading
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-650f6479-4579-4114-9732-dfaabe7e1d22 :CUSTOM_ID: h-650f6479-4579-4114-9732-dfaabe7e1d22
@ -285,9 +305,13 @@
The following are the parameters for background blurring, see the \*BLUR\* The following are the parameters for background blurring, see the \*BLUR\*
section for more information. section for more information.
#+BEGIN_SRC conf #+BEGIN_SRC conf
blur-method = "kawase"; blur: {
blur-size = 5; method = "dual_kawase";
blur-deviation = false; strength = 7;
background = false;
background-frame = false;
background-fixed = false;
}
#+END_SRC #+END_SRC
This value enables or disables the blur for the background of semi-transparent This value enables or disables the blur for the background of semi-transparent
@ -625,15 +649,3 @@
#+BEGIN_SRC conf :tangle no #+BEGIN_SRC conf :tangle no
glx-fshader-win = ''; glx-fshader-win = '';
#+END_SRC #+END_SRC
#+BEGIN_SRC conf
corner-radius = 9.0;
rounded-corners-exclude = [];
blur: {
method = "dual_kawase";
strength = 7;
background = false;
background-frame = false;
background-fixed = false;
}
#+END_SRC