mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
Refinements to compton.conf
Fix issue where tooltips, `dmenu`, and all sorts of context menus would have no shadows whatsoever. This could make them hard to distinguish under certain circumstances. Tweak the shadow's properties. Makes it more subtle, yet better at delineating objects.
This commit is contained in:
parent
e97571fd17
commit
096b256984
|
|
@ -51,10 +51,10 @@ glx-swap-method="undefined"; # slowest, but safest
|
|||
# ===========
|
||||
|
||||
shadow=true;
|
||||
shadow-radius=0; # default 12
|
||||
shadow-offset-x=0; # left offset, default -15
|
||||
shadow-offset-y=0; # top offset, default -15
|
||||
shadow-opacity=0.6; # default 0.75
|
||||
shadow-radius=3; # default 12
|
||||
shadow-offset-x=-3; # left offset, default -15
|
||||
shadow-offset-y=-3; # top offset, default -15
|
||||
shadow-opacity=0.3; # default 0.75
|
||||
|
||||
shadow-red=0.1 # default 0 = black (1.0 = white)
|
||||
shadow-green=0.1 # default 0 = black (1.0 = white)
|
||||
|
|
@ -73,14 +73,14 @@ shadow-ignore-shaped=true;
|
|||
# excludes shadows on any "Unknown" windows, this prevents a visual
|
||||
# glitch with the XFWM alt tab switcher.
|
||||
shadow-exclude = [
|
||||
"! name~=''",
|
||||
### "! name~=''",
|
||||
### "window_type *= 'menu'",
|
||||
### "_NET_WM_WINDOW_TYPE@:a *= 'MENU'",
|
||||
"name *?= 'Plank'",
|
||||
"name %= 'Plank'",
|
||||
"name ~= 'Plank'",
|
||||
"_NET_WM_NAME@:s *?= 'Plank'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"window_type *= 'menu'",
|
||||
"_NET_WM_WINDOW_TYPE@:a *= 'MENU'"
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
||||
# }}}
|
||||
|
|
@ -177,11 +177,11 @@ wintypes:
|
|||
# fade: Fade the particular type of windows.
|
||||
fade=false;
|
||||
# shadow: Give those windows shadow
|
||||
shadow=false;
|
||||
shadow=true;
|
||||
# opacity: Default opacity for the type of windows.
|
||||
opacity=1;
|
||||
# focus: Whether to always consider windows of this type focused.
|
||||
focus=true;
|
||||
focus=false;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue