Configure compton
This commit is contained in:
parent
06bcd8c57f
commit
53f501e847
@ -1107,7 +1107,7 @@ stop-screensaver = "yes"
|
||||
set recolor-keephue "false"
|
||||
#+end_src
|
||||
|
||||
* TODO Compton
|
||||
* Compton
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/compton.conf
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
@ -1115,127 +1115,109 @@ stop-screensaver = "yes"
|
||||
|
||||
** Shadow
|
||||
#+BEGIN_SRC conf
|
||||
shadow = false;
|
||||
# no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
detect-rounded-corners = true;
|
||||
shadow-radius = 5;
|
||||
shadow-offset-x = 1;
|
||||
shadow-offset-y = 1;
|
||||
shadow-opacity = .3;
|
||||
shadow-ignore-shaped = false;
|
||||
shadow = true;
|
||||
shadow-radius = 12;
|
||||
shadow-offset-x = -12;
|
||||
shadow-offset-y = -12;
|
||||
shadow-opacity = 0.95;
|
||||
shadow-exclude = [
|
||||
"name = 'Notification'",
|
||||
# workaround for conky until it provides window properties:
|
||||
"override_redirect = 1 && !WM_CLASS@:s",
|
||||
"class_g ?= 'Dmenu'",
|
||||
# "class_g ?= 'Dunst'",
|
||||
# disable shadows for hidden windows:
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
# disables shadows on sticky windows:
|
||||
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
|
||||
# disables shadows on i3 frames
|
||||
"class_g ?= 'i3-frame'"
|
||||
"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"
|
||||
];
|
||||
|
||||
# shadow-exclude-reg = "x10+0+0";
|
||||
# xinerama-shadow-crop = true;
|
||||
#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
|
||||
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 0.9;
|
||||
active-opacity = 1.0;
|
||||
alpha-step = 0.0;
|
||||
# Dim the inactive windows
|
||||
inactive-dim = 0.05;
|
||||
blur-background = true;
|
||||
blur-kern = "3x3box";
|
||||
#+END_SRC
|
||||
|
||||
** TODO Fading
|
||||
** Fading
|
||||
#+BEGIN_SRC conf
|
||||
fading = false;
|
||||
fade-delta = 1;
|
||||
fade-delta = 10.0;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
fade-exclude = [ ];
|
||||
# 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;
|
||||
unredir-if-possible = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "none";
|
||||
vsync = false;
|
||||
dbe = false;
|
||||
paint-on-overlay = true;
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
# 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 = [ ];
|
||||
glx-copy-from-front = false;
|
||||
glx-swap-method = "undefined";
|
||||
# resize-damage = 1;
|
||||
#+END_SRC
|
||||
|
||||
Opacity Rules for specific windows
|
||||
#+BEGIN_SRC conf
|
||||
#opacity-rule = [
|
||||
#"99:name *?= 'Call'",
|
||||
#"99:class_g = 'Chromium'",
|
||||
#"99:name *?= 'Conky'",
|
||||
#"99:class_g = 'Darktable'",
|
||||
#"50:class_g = 'Dmenu'",
|
||||
#"99:name *?= 'Event'",
|
||||
#"99:class_g = 'Firefox'",
|
||||
#"99:class_g = 'GIMP'",
|
||||
#"99:name *?= 'Image'",
|
||||
#"99:class_g = 'Lazpaint'",
|
||||
#"99:class_g = 'Midori'",
|
||||
#"99:name *?= 'Minitube'",
|
||||
#"99:class_g = 'Mousepad'",
|
||||
#"99:name *?= 'MuseScore'",
|
||||
#"90:name *?= 'Page Info'",
|
||||
#"99:name *?= 'Pale Moon'",
|
||||
#"90:name *?= 'Panel'",
|
||||
#"99:class_g = 'Pinta'",
|
||||
#"90:name *?= 'Restart'",
|
||||
#"99:name *?= 'sudo'",
|
||||
#"99:name *?= 'Screenshot'",
|
||||
#"99:class_g = 'Viewnior'",
|
||||
#"99:class_g = 'VirtualBox'",
|
||||
#"99:name *?= 'VLC'",
|
||||
#"99:name *?= 'Write'",
|
||||
#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
|
||||
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
|
||||
#];
|
||||
#+END_SRC
|
||||
|
||||
#+BEGIN_SRC conf
|
||||
wintypes :
|
||||
** Window Type Setting
|
||||
#+begin_src conf
|
||||
wintypes:
|
||||
{
|
||||
tooltip :
|
||||
{
|
||||
tooltip = {
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 0.85;
|
||||
shadow = true;
|
||||
opacity = 0.75;
|
||||
focus = true;
|
||||
};
|
||||
fullscreen :
|
||||
{
|
||||
fullscreen = {
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 1;
|
||||
focus = true;
|
||||
};
|
||||
};
|
||||
#+END_SRC
|
||||
#+end_src
|
||||
|
||||
* Locale
|
||||
:PROPERTIES:
|
||||
|
Loading…
Reference in New Issue
Block a user