Skip to content

Commit

Permalink
Update picom.sample.conf to upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
pijulius authored Aug 13, 2024
1 parent be12c70 commit 3119d36
Showing 1 changed file with 0 additions and 205 deletions.
205 changes: 0 additions & 205 deletions picom.sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ fade-out-step = 0.03;
# Default: 1.0 (disabled)
frame-opacity = 0.7;

# 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-tolerance = 0.5;

# Make different colors opaque by a factor of x (default 5)
# frame-opacity-for-same-colors-multiplier = 5;

# Use fixed inactive dim value, instead of adjusting according to window opacity.
#
# Default: false
Expand Down Expand Up @@ -324,199 +315,3 @@ rules: ({
# resolved first). Or in `$XDG_CONFIG_HOME/picom/include`.
#
# @include "extra.conf"


#################################
# Animation Settings #
#################################

animations = ({
triggers = ["close", "hide"];
opacity = {
timing = "0.2s linear";
start = "window-raw-opacity-before";
end = "window-raw-opacity";
};
blur-opacity = "0";
shadow-opacity = "opacity";
offset-x = "(1 - scale-x) / 2 * window-width";
offset-y = "(1 - scale-y) / 2 * window-height";
scale-x = {
timing = "0.2s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
start = 1;
end = 1.04;
};
scale-y = "scale-x";
shadow-scale-x = "scale-x";
shadow-scale-y = "scale-y";
shadow-offset-x = "offset-x";
shadow-offset-y = "offset-y";
},
{
triggers = ["open", "show"];
opacity = {
timing = "0.2s linear";
start = "window-raw-opacity-before";
end = "window-raw-opacity";
};
blur-opacity = {
timing = "0.1s linear 0.2s";
start = "window-raw-opacity-before";
end = "window-raw-opacity";
};
shadow-opacity = "opacity";
offset-x = "(1 - scale-x) / 2 * window-width";
offset-y = "(1 - scale-y) / 2 * window-height";
scale-x = {
timing = "0.2s cubic-bezier(0.24, 0.64, 0.79, 0.98)";
start = 1.04;
end = 1;
};
scale-y = "scale-x";
shadow-scale-x = "scale-x";
shadow-scale-y = "scale-y";
shadow-offset-x = "offset-x";
shadow-offset-y = "offset-y";
},

# Half Monitor Size Desktop Switching
{
triggers = ["workspace-out"];
offset-y = {
timing = "0.2s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
start = "0";
end = "- window-height / 2";
};
shadow-offset-y = "offset-y";
opacity = {
timing = "0.2s linear";
start = "window-raw-opacity-before";
end = "window-raw-opacity";
};
blur-opacity = "0";
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 / 2";
};
shadow-offset-y = "offset-y";
opacity = {
timing = "0.2s linear";
start = "window-raw-opacity-before";
end = "window-raw-opacity";
};
blur-opacity = "0";
shadow-opacity = "opacity";
},
{
triggers = ["workspace-in"];
offset-y = {
timing = "0.2s cubic-bezier(0.24, 0.64, 0.79, 0.98)";
start = "window-height / 2";
end = "0";
};
shadow-offset-y = "offset-y";
opacity = {
timing = "0.2s linear";
start = "0";
end = "window-raw-opacity";
};
blur-opacity = {
timing = "0.1s linear 0.2s";
start = "0";
end = "window-raw-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 / 2";
end = "0";
};
shadow-offset-y = "offset-y";
opacity = {
timing = "0.2s linear";
start = "0";
end = "window-raw-opacity";
};
blur-opacity = {
timing = "0.1s linear 0.2s";
start = "0";
end = "window-raw-opacity";
};
shadow-opacity = "opacity";
}

# Full Opaque & Monitor Size Desktop Switching
#{
# triggers = ["workspace-out"];
# offset-y = {
# timing = "0.15s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
# start = "0";
# end = "-window-monitor-height";
# };
# shadow-offset-y = "offset-y";
# opacity = {
# timing = "0.2s linear";
# start = "window-raw-opacity-before";
# end = "window-raw-opacity-before";
# };
# blur-opacity = "opacity";
# shadow-opacity = "opacity";
#},
#{
# triggers = ["workspace-out-inverse"];
# offset-y = {
# timing = "0.15s cubic-bezier(0.21, 0.02, 0.76, 0.36)";
# start = "0";
# end = "window-monitor-height";
# };
# shadow-offset-y = "offset-y";
# opacity = {
# timing = "0.2s linear";
# start = "window-raw-opacity-before";
# end = "window-raw-opacity-before";
# };
# blur-opacity = "opacity";
# shadow-opacity = "opacity";
#},
#{
# triggers = ["workspace-in"];
# offset-y = {
# timing = "0.15s cubic-bezier(0.24, 0.64, 0.79, 0.98)";
# start = "window-monitor-height";
# end = "0";
# };
# shadow-offset-y = "offset-y";
# opacity = {
# timing = "0.2s linear";
# start = "window-raw-opacity";
# end = "window-raw-opacity";
# };
# blur-opacity = "opacity";
# shadow-opacity = "opacity";
#},
#{
# triggers = ["workspace-in-inverse"];
# offset-y = {
# timing = "0.15s cubic-bezier(0.24, 0.64, 0.79, 0.98)";
# start = "-window-monitor-height";
# end = "0";
# };
# shadow-offset-y = "offset-y";
# opacity = {
# timing = "0.2s linear";
# start = "window-raw-opacity";
# end = "window-raw-opacity";
# };
# blur-opacity = "opacity";
# shadow-opacity = "opacity";
#}

)

0 comments on commit 3119d36

Please sign in to comment.