mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-09-11 15:56:04 +03:00
Add control center visibility class (#371)
This addresses https://github.com/ErikReider/SwayNotificationCenter/issues/359
This commit is contained in:
parent
42b9050950
commit
ae0728e2f1
@ -580,6 +580,10 @@ namespace SwayNotificationCenter {
|
||||
var group = (NotificationGroup) w;
|
||||
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 (),
|
||||
noti_daemon.dnd,
|
||||
|
Loading…
Reference in New Issue
Block a user