Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corner Radius Fix for GLX #1261

Closed
wants to merge 38 commits into from
Closed

Corner Radius Fix for GLX #1261

wants to merge 38 commits into from

Commits on May 18, 2024

  1. Merge pull request #3 from yshui/next

    Update to Original Picom
    pijulius authored May 18, 2024
    Configuration menu
    Copy the full SHA
    ba8d120 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fcc32ee View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Configuration menu
    Copy the full SHA
    fc39512 View commit details
    Browse the repository at this point in the history
  2. Added Desktop Switch Triggers for different animations

    This adds support for desktop switching animations by keeping track of _NET_CURRENT_DESKTOP atom on the root window. 
    
    As far as I understand this atom is set by window managers and so if it changes we can know that it's a desktop switch happening. Unfortunately window manager may need to set this BEFORE hiding/showing windows so we can animate correctly, me personally using FluxBox and this quick change pijulius/fluxbox@83ee4db  makes it work just fine.
    
    It adds the following animation triggers:
    * workspace-out
    * workspace-out-inverse
    * workspace-in
    * workspace-in-inverse
    
    Unfortunately had to add inverse variables too as you may navigate to the next workspace from for e.g. 1st to 2nd but you may also go to 2nd from 1st and in that case the animations have to be totally different.
    
    Here is a config example for switching workspace:
    
    animations = ({
        triggers = ["workspace-out"];
        offset-y = {
            timing = "0.2s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
            start = "0";
            end = "-window-height";
        };
        shadow-offset-y = "offset-y";
        opacity = {
            timing = "0.2s linear";
            start = "window-raw-opacity-before";
            end = "window-raw-opacity";
        };
        blur-opacity = "opacity";
        shadow-opacity = "opacity";
    },
    {
        triggers = ["workspace-out-inverse"];
        offset-y = {
            timing = "0.2s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
            start = "0";
            end = "window-height + window-y";
        };
        shadow-offset-y = "offset-y";
        opacity = {
            timing = "0.2s linear";
            start = "window-raw-opacity-before";
            end = "window-raw-opacity";
        };
        blur-opacity = "opacity";
        shadow-opacity = "opacity";
    },
    {
        triggers = ["workspace-in"];
        offset-y = {
            timing = "0.2s cubic-bezier(0.24, 0.64, 0.79, 0.98)";
            start = "window-height + window-y";
            end = "0";
        };
        shadow-offset-y = "offset-y";
        opacity = {
            timing = "0.2s linear";
            start = "0";
            end = "window-raw-opacity";
        };
        blur-opacity = "opacity";
        shadow-opacity = "opacity";
    },
    {
        triggers = ["workspace-in-inverse"];
        offset-y = {
            timing = "0.2s cubic-bezier(0.24, 0.64, 0.79, 0.98)";
            start = "-window-height";
            end = "0";
        };
        shadow-offset-y = "offset-y";
        opacity = {
            timing = "0.2s linear";
            start = "0";
            end = "window-raw-opacity";
        };
        blur-opacity = "opacity";
        shadow-opacity = "opacity";
    })
    pijulius authored May 20, 2024
    Configuration menu
    Copy the full SHA
    cee741a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17d048c View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Configuration menu
    Copy the full SHA
    3d0515d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6dc4671 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Update README.md

    pijulius authored May 25, 2024
    Configuration menu
    Copy the full SHA
    c51fd2e View commit details
    Browse the repository at this point in the history
  2. Update README.md

    pijulius authored May 25, 2024
    Configuration menu
    Copy the full SHA
    e2f201f View commit details
    Browse the repository at this point in the history
  3. Update README.md

    pijulius authored May 25, 2024
    Configuration menu
    Copy the full SHA
    14e5c61 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16b1e02 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b8a753 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Add possibility for frame opacity to include menubar/toolbar and so on

    This adds the possibility to define the frame opacity but also include all colors in the window that match the frame color and make those also transparent. It even supports the possibility to define the tolerance for color difference between the frame and other parts of the window and make those or gradually more opaque or also transparent just like the frame.
    
    NOTE: tested with flat window frame so not sure how it will work with gradient frames and also only added for GLX atm, lets see if it's interesting enough to be included in the core or otherwise will just keep it for myself.
    
    It adds the following config options:
    
    # Enable frame opacity for colors that match the frame
    frame-opacity-for-same-colors = true;
    
    # Tolerance for similar colors (0 exact match, 1 all colors, default 0.5)
    frame-opacity-for-same-colors-constraint = 0.5;
    
    # Make different colors opaque by a factor of x (default 5)
    frame-opacity-for-same-colors-multiplier = 5;
    
    and for them to work you will have to active frame opacity for e.g.
    frame-opacity = 0.7;
    
    With these options you can now have blurred transparent frame + menubar + toolbar or on popup like File Open have transparent window background but list of files be opaque and so on.
    pijulius authored May 26, 2024
    Configuration menu
    Copy the full SHA
    968112a View commit details
    Browse the repository at this point in the history
  2. Update README.md

    pijulius authored May 26, 2024
    Configuration menu
    Copy the full SHA
    751a971 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Configuration menu
    Copy the full SHA
    a284d33 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    66fd22f View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Configuration menu
    Copy the full SHA
    9aff31b View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    36ee6ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    793e11a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4deef66 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Use texelFetch to get frame color and ignore border

    Tried to come up with better way to get the color of the frame and if I understood texelFetch correctly it should gather the correct pixel now and even exclude the border in case your windows have some.
    pijulius authored Jun 1, 2024
    Configuration menu
    Copy the full SHA
    3fbe856 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    400e517 View commit details
    Browse the repository at this point in the history
  2. Code format fixes

    pijulius committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    9df22a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Configuration menu
    Copy the full SHA
    0834219 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Update picom.sample.conf

    pijulius authored Jun 7, 2024
    Configuration menu
    Copy the full SHA
    85819e7 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    a312328 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Configuration menu
    Copy the full SHA
    a0e8188 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Update to head

    pijulius committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    3409641 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    b8fe932 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    e489a48 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Configuration menu
    Copy the full SHA
    ee5e13e View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    e695a77 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    47590df View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Update to head

    pijulius committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    4b5c78b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4644815 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    585d86b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Configuration menu
    Copy the full SHA
    d1d9d59 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Configuration menu
    Copy the full SHA
    fc0938b View commit details
    Browse the repository at this point in the history