diff --git a/README.md b/README.md index ca7cd04..d2aa63c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,21 @@ picom This is a forked version from Sandmark's picom branch, including Blackcapcoder's animation code inside. The animations here are further smoothed and time deltas reduced from 1ms to 40us for high refresh rates and buttery smooth transitions. +You'll need to run it with the experimental backend with: + +`picom --experimental-backend` + +Your picom config can also now take advantage of some of the options that were previously implemented in blackcapcoder's compton version: +- [x] * `transition-length` length of animation in milliseconds (default: 300) +- [x] * `transition-pow-x` animation easing on the x-axis (default: 0.1) +- [x] * `transition-pow-y` animation easing on the y-axis (default: 0.1) +- [x] * `transition-pow-w` animation easing on the window width (default: 0.1) +- [x] * `transition-pow-h` animation easing on the window height (default: 0.1) +- [x] * `size-transition` whether to animate window size changes (default: true) +- [ ] * `spawn-center-screen` whether to animate new windows from the center of the screen (default: false) +- [ ] * `spawn-center` whether to animate new windows from their own center (default: true) +- [ ] * `no-scale-down` Whether to animate down scaling (some programs handle this poorly) (default: false) + ---- **This is a development branch, bugs to be expected** diff --git a/src/config.c b/src/config.c index 6824865..db69f28 100644 --- a/src/config.c +++ b/src/config.c @@ -498,10 +498,10 @@ char *parse_config(options_t *opt, const char *config_file, bool *shadow_enable, .backend = BKEND_XRENDER, .glx_no_stencil = false, .transition_length = 300, - .transition_pow_x = 1.5, - .transition_pow_y = 1.5, - .transition_pow_w = 1.5, - .transition_pow_h = 1.5, + .transition_pow_x = 0.1, + .transition_pow_y = 0.1, + .transition_pow_w = 0.1, + .transition_pow_h = 0.1, .size_transition = true, .no_scale_down = false, .spawn_center_screen = false,