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:
Marty Oehme 2019-11-18 22:52:25 +01:00
parent 717b9d9096
commit 3d1438f657
4 changed files with 47 additions and 14 deletions

View file

@ -54,7 +54,7 @@ type xcape >/dev/null 2>&1 && xcape -e 'Control_L=Escape'
# if unclutter exists start it
type unclutter >/dev/null 2>&1 && unclutter &
# if picom exists then we can start it as our compositor
type picom >/dev/null 2>&1 && picom &
type picom >/dev/null 2>&1 && picom --experimental-backends &
# same deal with flashfocus as our active window indicator
type flashfocus >/dev/null 2>&1 && flashfocus -l never &
# if redshift is installed run it