mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 05:44:16 +00:00
additionally try wake on screen unlock (#430)
This commit is contained in:
parent
f5ab515260
commit
412540a5af
1 changed files with 4 additions and 0 deletions
|
@ -107,6 +107,10 @@ CGImageRef workspace_icon_for_app(char* app) {
|
|||
selector:@selector(didChangeMenuBarHiding:)
|
||||
name:@"AppleInterfaceMenuBarHidingChangedNotification"
|
||||
object:nil];
|
||||
[[NSDistributedNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(didWake:)
|
||||
name:@"com.apple.screenIsUnlocked"
|
||||
object:nil];
|
||||
}
|
||||
|
||||
return self;
|
||||
|
|
Loading…
Reference in a new issue