forked from pijulius/picom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unmap and workspace switch animation
This will add unmap animation for windows that are hidden (e.g. minimized) and also a custom animation when switching workspace. Also we have two new animations, slide-in and slide-out that are automatically used for workspace switching. Also with this changes opacity isn't added to the win_image itself but to the whole window so even shadow gets animated when animating windows. IMPORTANT: * For unmap animation fading needs to be turned on in the picom.conf as otherwise opacity is automatically set to 0 and so even if it animates you don't see it as the window is already transparent. * For workspace switch animations window manager must set _NET_CURRENT_DESKTOP before doing the hide/show of windows for e.g. here is the change for Fluxbox: pijulius/fluxbox@83ee4db New options in settings are: --animation-for-unmap-window Which animation to run when hiding (e.g. minimize) a window. Must be one of `auto`, `none`, `fly-in`, `zoom`, `slide-down`, `slide-up`, `slide-left`, `slide-right` `slide-in`, `slide-out` (default: auto). --animation-for-workspace-switch-in Which animation to run on switching workspace for windows comming into view. IMPORTANT: window manager must set _NET_CURRENT_DESKTOP before doing the hide/show of windows Must be one of `auto`, `none`, `fly-in`, `zoom`, `slide-down`, `slide-up`, `slide-left`, `slide-right` `slide-in`, `slide-out` (default: auto). --animation-for-workspace-switch-out Which animation to run on switching workspace for windows going out of view. IMPORTANT: window manager must set _NET_CURRENT_DESKTOP before doing the hide/show of windows Must be one of `auto`, `none`, `fly-in`, `zoom`, `slide-down`, `slide-up`, `slide-left`, `slide-right` `slide-in`, `slide-out` (default: auto). also custom animations can be defined for both open and unmap with window types like this: wintypes: { notification = { animation = "slide-left"; animation-unmap = "zoom"; } };
- Loading branch information
Showing
10 changed files
with
358 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.