Configure compton
This commit is contained in:
parent
06bcd8c57f
commit
53f501e847
@ -1107,7 +1107,7 @@ stop-screensaver = "yes"
|
|||||||
set recolor-keephue "false"
|
set recolor-keephue "false"
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* TODO Compton
|
* Compton
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:header-args: :tangle ~/.config/compton.conf
|
:header-args: :tangle ~/.config/compton.conf
|
||||||
:header-args+: :comments both :mkdirp yes
|
:header-args+: :comments both :mkdirp yes
|
||||||
@ -1115,127 +1115,109 @@ stop-screensaver = "yes"
|
|||||||
|
|
||||||
** Shadow
|
** Shadow
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
shadow = false;
|
shadow = true;
|
||||||
# no-dnd-shadow = true;
|
shadow-radius = 12;
|
||||||
no-dock-shadow = true;
|
shadow-offset-x = -12;
|
||||||
clear-shadow = true;
|
shadow-offset-y = -12;
|
||||||
detect-rounded-corners = true;
|
shadow-opacity = 0.95;
|
||||||
shadow-radius = 5;
|
|
||||||
shadow-offset-x = 1;
|
|
||||||
shadow-offset-y = 1;
|
|
||||||
shadow-opacity = .3;
|
|
||||||
shadow-ignore-shaped = false;
|
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
"name = 'Notification'",
|
"name = 'Notification'",
|
||||||
# workaround for conky until it provides window properties:
|
"window_type = 'dock'",
|
||||||
"override_redirect = 1 && !WM_CLASS@:s",
|
"window_type = 'dnd'",
|
||||||
"class_g ?= 'Dmenu'",
|
"class_g = 'VirtualBox'",
|
||||||
# "class_g ?= 'Dunst'",
|
"class_g = 'Conky'",
|
||||||
# disable shadows for hidden windows:
|
"class_g ?= 'Notify-osd'",
|
||||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
"class_g = 'Tilda'",
|
||||||
"_GTK_FRAME_EXTENTS@:c",
|
"class_g = 'Firefox'",
|
||||||
# disables shadows on sticky windows:
|
"class_g = 'Opera'",
|
||||||
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
|
"class_g = 'CoverGloobus'",
|
||||||
# disables shadows on i3 frames
|
"class_g = 'Cairo-clock'",
|
||||||
"class_g ?= 'i3-frame'"
|
"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";
|
#opacity-rule = [ "80:class_g = 'XTerm'" ];
|
||||||
# xinerama-shadow-crop = true;
|
#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
|
#+END_SRC
|
||||||
|
|
||||||
|
** Fading
|
||||||
#+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
|
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
fading = false;
|
fading = false;
|
||||||
fade-delta = 1;
|
fade-delta = 10.0;
|
||||||
fade-in-step = 0.03;
|
fade-in-step = 0.03;
|
||||||
fade-out-step = 0.03;
|
fade-out-step = 0.03;
|
||||||
fade-exclude = [ ];
|
# no-fading-openclose = true;
|
||||||
|
# no-fading-destroyed-argb = true;
|
||||||
|
fade-exclude = [
|
||||||
|
];
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Other
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
backend = "xrender";
|
backend = "xrender";
|
||||||
mark-wmwin-focused = true;
|
mark-wmwin-focused = true;
|
||||||
mark-ovredir-focused = true;
|
mark-ovredir-focused = true;
|
||||||
|
# use-ewmh-active-win = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
unredir-if-possible = true;
|
|
||||||
refresh-rate = 0;
|
refresh-rate = 0;
|
||||||
vsync = "none";
|
vsync = false;
|
||||||
dbe = false;
|
dbe = false;
|
||||||
paint-on-overlay = true;
|
# sw-opti = true;
|
||||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
# unredir-if-possible = true;
|
||||||
|
# unredir-if-possible-delay = 5000;
|
||||||
|
# unredir-if-possible-exclude = [ ];
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
detect-client-leader = true;
|
detect-client-leader = true;
|
||||||
invert-color-include = [ ];
|
invert-color-include = [ ];
|
||||||
glx-copy-from-front = false;
|
# resize-damage = 1;
|
||||||
glx-swap-method = "undefined";
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
Opacity Rules for specific windows
|
** Window Type Setting
|
||||||
#+BEGIN_SRC conf
|
#+begin_src conf
|
||||||
#opacity-rule = [
|
wintypes:
|
||||||
#"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 :
|
|
||||||
{
|
|
||||||
tooltip :
|
|
||||||
{
|
{
|
||||||
|
tooltip = {
|
||||||
fade = true;
|
fade = true;
|
||||||
shadow = false;
|
shadow = true;
|
||||||
opacity = 0.85;
|
opacity = 0.75;
|
||||||
focus = true;
|
focus = true;
|
||||||
};
|
};
|
||||||
fullscreen :
|
fullscreen = {
|
||||||
{
|
|
||||||
fade = true;
|
fade = true;
|
||||||
shadow = false;
|
shadow = false;
|
||||||
opacity = 1;
|
opacity = 1;
|
||||||
focus = true;
|
focus = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
#+END_SRC
|
#+end_src
|
||||||
|
|
||||||
* Locale
|
* Locale
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
Loading…
Reference in New Issue
Block a user