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

slop doesn't render borders when color float specified #1408

Open
Darukutsu opened this issue Feb 15, 2025 · 0 comments
Open

slop doesn't render borders when color float specified #1408

Darukutsu opened this issue Feb 15, 2025 · 0 comments

Comments

@Darukutsu
Copy link

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";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant