literate-dotfiles/compositor.org

73 lines
1.8 KiB
Org Mode
Raw Normal View History

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
2020-01-11 22:24:51 +01:00
#+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>
2020-01-11 22:04:28 +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
:END:
* 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'"
2019-12-30 17:21:22 +01:00
];
#+END_SRC
* Opacity
#+BEGIN_SRC conf
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:
{
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