Add control center visibility class (#371)
This addresses https://github.com/ErikReider/SwayNotificationCenter/issues/359
This commit is contained in:
@@ -580,6 +580,10 @@ namespace SwayNotificationCenter {
|
|||||||
var group = (NotificationGroup) w;
|
var group = (NotificationGroup) w;
|
||||||
if (group != null) group.update ();
|
if (group != null) group.update ();
|
||||||
}
|
}
|
||||||
|
this.get_style_context ().add_class ("open");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
this.get_style_context ().remove_class ("open");
|
||||||
}
|
}
|
||||||
swaync_daemon.subscribe_v2 (notification_count (),
|
swaync_daemon.subscribe_v2 (notification_count (),
|
||||||
noti_daemon.dnd,
|
noti_daemon.dnd,
|
||||||
|
Reference in New Issue
Block a user