Anmol1184 / picom

A lightweight compositor for X11

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why another Picom fork?

this fork add configurable transition animations to windows.

How works?

When window moves or get resized, it save new window geometry and then adds static offset (transition_offset) to it from direction that you specified (transition-direction) and calculate transition based on transition-timing-function and transition-duration.

Demo

demo

Configurations

most configs are like CSS properties for transition:

  • transition-duration: time in second that takes to finish transition
  • transition-offset: offset that gives to window to start transitioning from there
  • transition-direction: direction of transition like top, bottom, left, ... (use none for no transition)
  • transition-timing-function: function that used to calculate transition timing, see easings.net website for list of supported functions, naming convensions are diffrent in that site tho, e.g easeOutExpo is ease-out-expo here.
  • transition-rule (similar to opacity rule but it changes transition direction)

Build and Install

You can build and install from AUR or use an AUR helper like yay to simplify the process:

yay -S picom-arian8j2-git

checkout official picom to manually build and install from source.

Contribute

Make sure to work on next branch and NOT show branch because show branch is just for README and specific things that only apply to this fork, Maybe in future next branch get merged to official picom.

About

A lightweight compositor for X11

License:Other


Languages

Language:C 94.0%Language:Python 3.0%Language:Shell 2.1%Language:Meson 0.8%Language:GLSL 0.1%