mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-23 03:43:02 +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:)
|
selector:@selector(didChangeMenuBarHiding:)
|
||||||
name:@"AppleInterfaceMenuBarHidingChangedNotification"
|
name:@"AppleInterfaceMenuBarHidingChangedNotification"
|
||||||
object:nil];
|
object:nil];
|
||||||
|
[[NSDistributedNotificationCenter defaultCenter] addObserver:self
|
||||||
|
selector:@selector(didWake:)
|
||||||
|
name:@"com.apple.screenIsUnlocked"
|
||||||
|
object:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
|
|
Loading…
Reference in a new issue