hyprland-community/pyprland

[BUG] Excludes = "*" is not working in 2.2.17

Closed this issue · 1 comments

Pyprland version

▶ pypr version
2.2.17

Describe the bug
Hi, I just update pyprland from 2.2.5 and excludes = "*" stops working. Please let me know if I can help reproduce the bug. Thanks!

To Reproduce
Steps to reproduce the behavior:

  1. Open terminal scratchpad
  2. Open messenger scratchpad
  3. Observe that both scratchpads are shown

Expected behavior
The terminal would be automatically hidden when we only messenger scratchpad because messenger has excludes="*"

Configuration (provide following files/samples when relevant):

  • pyprland.toml
[pyprland]
plugins = [
  "scratchpads",
  "toggle_special",
]

[scratchpads.term]
command = "alacritty -t __scratchpad"
animation = ""
lazy = true
unfocus = ""
size = "50% 50%"
position = "25% 25%"
excludes = "*"
hysteresis=0

[scratchpads.messenger]
command = "caprine"
animation = ""
unfocus = ""
lazy = true
size = "50% 50%"
position = "25% 25%"
excludes = "*"
class = "Caprine"
match_by =  "class"
hysteresis=0

Additional context
N/A

Thank you a lot for this report!
Fixed in the git version.