picom icon indicating copy to clipboard operation
picom copied to clipboard

slop doesn't render borders when color float specified

Open darukutsu opened this issue 10 months ago • 0 comments

slop doesn't render borders when color float specified, same rules just like for old versions of picom where it worked. Everything works when no -c is passed even slops shaders.

I tried both versions just in case

v12.5 (/startdir/picom revision a456d43)
v12 (/home/daru/.cache/yay/picom-git/picom revision 38d2c4a)

command ran:

$ slop -r invert -b 2 -c 0.35,0.55,0.85,0.25
$ maim -u -f png -s -k -b 2 -c 0.35,0.55,0.85,0.25 foo.png

config:

rules = (
	{ 
          match = "name = 'Dunst'"; 
          animations = (
            {
              triggers = ["close", "hide"];
              preset = "slide-out";
              direction = "right";
            },
            {
              triggers = ["open", "show"];
              preset = "slide-in";
              direction = "right";
            }
          )
        },
	{ 
          match = "class_g = 'rofi' || class_g = 'Rofi' || window_type = 'notification'"; 
          shadow = true;
          animations = (
            {
              triggers = ["geometry"];
            },
          );
        },
	{ 
          match = "class_g = 'rofi' || class_g = 'Rofi' || window_type = 'splash' || window_type = 'dropdown_menu' || window_type = 'tooltip' || window_type = 'popup_menu' || window_type = 'combo'"; 
          fade = false;
          blur-background = false;
          unredir = false;
          transparent-clipping = false;
          animations = (
            {
              triggers = ["close", "hide"];
              preset = "slide-out";
              direction = "up";
            },
            {
              triggers = ["open", "show"];
              preset = "slide-in";
              direction = "up";
            }
          )
        },
	{ 
          match = "class_g = 'kitty-drop' || class_g = 'kitty-fzf'"; 
          animations = (
            {
              triggers = ["close", "hide", "decrease-opacity"];
              preset = "disappear";
            },
            {
              triggers = ["open", "show"];
              preset = "appear";
            }
          )
        },
	{ match = "window_type = 'notification'"; corner-radius = 0; },
	{ match = "window_type = 'dock'"; corner-radius = 0; },
	{ match = "class_g = 'warpd'       ||"
                  "class_g = 'Conky'       ||"
                  "class_g ?= 'Notify-osd' ||"
                  "class_g = 'Cairo-clock' ||"
                  "class_g = 'maim'        ||"
                  "class_g = 'slop'        ||"
                  "class_g = 'hints'       ||"
                  "class_g = 'ibus-ui-gtk3'||"
                  "_GTK_FRAME_EXTENTS@";
          shadow = false; 
          fade = false;
          blur-background = false;
          unredir = false;
          transparent-clipping = false;
          opacity = 1.0;
          animations = (
            { triggers = ["close", "hide"]; }, 
            { triggers = ["open", "show"]; },
            { triggers = ["geometry"]; },
          )
        },
)

animations = (
  {
    triggers = ["close", "hide"];
    preset = "fly-out";
    duration = 0.3;
  },
  {
    triggers = ["open", "show"];
    preset = "fly-in";
    duration = 0.3;
  },
  {
    triggers = ["geometry"];
    preset = "geometry-change";
    duration = 0.2;
  },
)

shadow-opacity = .85

fading = true
fade-in-step = 0.04
fade-out-step = 0.04

frame-opacity = 1.0;

detect-rounded-corners = true


backend = "glx"
dithered-present = false
detect-transient = true
detect-client-leader = true
use-ewmh-active-win = true
no-use-damage = true
log-level = "warn";

darukutsu avatar Feb 15 '25 09:02 darukutsu