2019-12-30 17:21:22 +01:00
|
|
|
#+TITLE: Picom (Compositor)
|
|
|
|
:DRAWER:
|
2020-01-11 22:04:28 +01:00
|
|
|
#+STARTUP: overview
|
|
|
|
|
|
|
|
#+LANGUAGE: en
|
|
|
|
#+EMAIL: dehaeze.thomas@gmail.com
|
|
|
|
#+AUTHOR: Dehaeze Thomas
|
|
|
|
|
|
|
|
#+HTML_LINK_HOME: ./index.html
|
|
|
|
#+HTML_LINK_UP: ./index.html
|
|
|
|
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/htmlize.css"/>
|
|
|
|
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../css/readtheorg.css"/>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/jquery.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/bootstrap.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/jquery.stickytableheaders.min.js"></script>
|
|
|
|
#+HTML_HEAD: <script type="text/javascript" src="../js/readtheorg.js"></script>
|
|
|
|
|
2019-12-30 17:21:22 +01:00
|
|
|
#+PROPERTY: header-args: :tangle ~/.config/picom/picom.conf
|
|
|
|
#+PROPERTY: header-args+: :comments both :mkdirp yes
|
|
|
|
:END:
|
|
|
|
|
|
|
|
* Shadow
|
|
|
|
#+BEGIN_SRC conf
|
|
|
|
shadow = true;
|
|
|
|
shadow-radius = 12;
|
|
|
|
shadow-offset-x = -12;
|
|
|
|
shadow-offset-y = -12;
|
|
|
|
shadow-opacity = 0.95;
|
|
|
|
shadow-exclude = [
|
|
|
|
"name = 'Notification'",
|
|
|
|
"window_type = 'dock'",
|
|
|
|
"window_type = 'dnd'",
|
|
|
|
"class_g = 'VirtualBox'",
|
|
|
|
"class_g = 'Conky'",
|
|
|
|
"class_g ?= 'Notify-osd'",
|
|
|
|
"class_g = 'Tilda'",
|
|
|
|
"class_g = 'Firefox'",
|
|
|
|
"class_g = 'Opera'",
|
|
|
|
"class_g = 'CoverGloobus'",
|
|
|
|
"class_g = 'Cairo-clock'",
|
|
|
|
"class_g = 'dzen'",
|
|
|
|
"class_g = 'stalonetray'",
|
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
|
|
|
];
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* Opacity
|
|
|
|
#+BEGIN_SRC conf
|
|
|
|
# menu-opacity = 0.92;
|
|
|
|
# inactive-opacity = 0.92;
|
|
|
|
# active-opacity = 0.92;
|
|
|
|
# frame-opacity = 0.9;
|
|
|
|
inactive-opacity-override = false;
|
|
|
|
# inactive-dim = 0.2;
|
|
|
|
# inactive-dim-fixed = true;
|
|
|
|
# blur-background = true;
|
|
|
|
# blur-background-frame = true;
|
|
|
|
blur-kern = "3x3box";
|
|
|
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
|
|
|
# blur-background-fixed = true;
|
|
|
|
blur-background-exclude = [
|
|
|
|
"window_type = 'dock'",
|
|
|
|
"window_type = 'desktop'",
|
|
|
|
"class_g = 'CoverGloobus'",
|
|
|
|
"class_g = 'Opera'",
|
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
|
|
|
];
|
|
|
|
|
|
|
|
#opacity-rule = [ "80:class_g = 'XTerm'" ];
|
|
|
|
#opacity-rule = [ "80:class_g = 'UXTerm'" ];
|
|
|
|
#opacity-rule = [ "80:class_g = 'i3bar'" ];
|
|
|
|
#opacity-rule = [ "90:class_g = 'dzen'" ];
|
|
|
|
opacity-rule = [ "40:class_g = 'Bspwm' && class_i = 'presel_feedback'" ];
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* Fading
|
|
|
|
#+BEGIN_SRC conf
|
|
|
|
fading = false;
|
|
|
|
fade-delta = 10.0;
|
|
|
|
fade-in-step = 0.03;
|
|
|
|
fade-out-step = 0.03;
|
|
|
|
# no-fading-openclose = true;
|
|
|
|
# no-fading-destroyed-argb = true;
|
|
|
|
fade-exclude = [
|
|
|
|
];
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* Other
|
|
|
|
#+BEGIN_SRC conf
|
|
|
|
backend = "xrender";
|
|
|
|
mark-wmwin-focused = true;
|
|
|
|
mark-ovredir-focused = true;
|
|
|
|
# use-ewmh-active-win = true;
|
|
|
|
detect-rounded-corners = true;
|
|
|
|
detect-client-opacity = true;
|
|
|
|
refresh-rate = 0;
|
|
|
|
vsync = false;
|
|
|
|
dbe = false;
|
|
|
|
# sw-opti = true;
|
|
|
|
# unredir-if-possible = true;
|
|
|
|
# unredir-if-possible-delay = 5000;
|
|
|
|
# unredir-if-possible-exclude = [ ];
|
|
|
|
detect-transient = true;
|
|
|
|
detect-client-leader = true;
|
|
|
|
invert-color-include = [ ];
|
|
|
|
# resize-damage = 1;
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
* Window Type Setting
|
|
|
|
#+begin_src conf
|
|
|
|
wintypes:
|
|
|
|
{
|
|
|
|
tooltip = {
|
|
|
|
fade = true;
|
|
|
|
shadow = true;
|
|
|
|
opacity = 0.75;
|
|
|
|
focus = true;
|
|
|
|
};
|
|
|
|
fullscreen = {
|
|
|
|
fade = true;
|
|
|
|
shadow = false;
|
|
|
|
opacity = 1;
|
|
|
|
focus = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
#+end_src
|