hyprwm / hyprland-plugins

Official plugins for Hyprland
BSD 3-Clause "New" or "Revised" License
521 stars 54 forks source link

Hyprbars: Always sending notification #76

Open kaspernyhus opened 8 months ago

kaspernyhus commented 8 months ago
hyprpm enable hyprbars

always sends a hyprland notification when it gets initialized

can this notification: https://github.com/hyprwm/hyprland-plugins/blob/562c5d52f9f284dd229a7cfd04d529285f80149e/hyprbars/main.cpp#L94C5-L95C1

HyprlandAPI::addNotification(PHANDLE, "[hyprbars] Initialized successfully!", CColor{0.2, 1.0, 0.2, 1.0}, 5000);

be disabled for non -n flag runs?

vaxerski commented 8 months ago

hyprpm can't pass anything into the plugins themselves. What we can do is make a config opt for each plugin to not show the notif.