Hyprbars: Is it possible to show hyprbars for a select group of windows?
Simple use case of my issue:
I sometimes run clones of Virtual Machines, and it is impossible to differ one from another without checking the name, explicitly saying (clone), I saw that there is an option to exclude specific windows from using hyprbars, would it be possible to allow only one single class or multiple in a window rule to use hyprbars without excluding every single application I have installed?
negative regex?
@vaxerski I've tried
windowrulev2 = plugin:hyprbars:nobar,class:negative:org.pulseaudio.pavucontrol
and
windowrulev2 = plugin:hyprbars:nobar,negative:class:org.pulseaudio.pavucontrol
to try to just get the bar to show up on pulse audio volume control, but in both cases, the bars appear on all windows.
(on Hyprland v0.47.2)
(removing the negative: makes it appear on everything except pulse audio volume control)
class:negative:(regex) works for me with opacity 0.5 0.5
I got it to work, but the problem with negative regexes in this use-case is that once you add a second negative regex, neither works:
windowrulev2 = plugin:hyprbars:nobar,class:negative:org.pulseaudio.pavucontrol
windowrulev2 = plugin:hyprbars:nobar,class:negative:org.kde.kweather
(one of these rules by itself is fine, but adding a second makes neither "work")
windowrulev2 = plugin:hyprbars:nobar,class:negative:(org\.pulseaudio\.pavucontrol)|(org\.kde\.kweather)