Add picom inactive window opacity automatic toggle
Whenever i3 is using gapless mode, all windows will be opaque. When gaps are shown inactive windows will have some transparency and blur behind them. Script can be invoked manually with `picom_toggle_inactive_opacity` to toggle, `picom_toggle_inactive_opacity on` or `picom_toggle_inactive_opacity off` to set it respectively.
This commit is contained in:
parent
717b9d9096
commit
3d1438f657
4 changed files with 47 additions and 14 deletions
|
|
@ -105,25 +105,31 @@ shadow-ignore-shaped = false;
|
|||
#
|
||||
#################################
|
||||
|
||||
inactive-opacity = 1;
|
||||
active-opacity = 1;
|
||||
inactive-opacity = 0.8;
|
||||
active-opacity = 0.9;
|
||||
frame-opacity = 1;
|
||||
inactive-opacity-override = false;
|
||||
inactive-opacity-override = true;
|
||||
|
||||
# Dim inactive windows. (0.0 - 1.0)
|
||||
#inactive-dim = 0.1;
|
||||
# Do not let dimness adjust based on window opacity.
|
||||
# inactive-dim-fixed = true;
|
||||
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
||||
blur-background = false;
|
||||
# blur-background = true;
|
||||
# Blur background of opaque windows with transparent frames as well.
|
||||
blur-background-frame = false;
|
||||
# blur-background-frame = false;
|
||||
# Do not let blur radius adjust based on window opacity.
|
||||
blur-background-fixed = true;
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'"
|
||||
];
|
||||
# blur-background-fixed = true;
|
||||
# blur-background-exclude = [
|
||||
# "window_type = 'dock'",
|
||||
# "window_type = 'desktop'"
|
||||
# ];
|
||||
blur:
|
||||
{
|
||||
method = "gaussian";
|
||||
size = 10;
|
||||
deviation = 5.0;
|
||||
};
|
||||
|
||||
#################################
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue