From 2b2df926b2307a25dd0b64e5ee161b22dd6d3cf8 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Tue, 26 Mar 2024 19:35:23 +0300 Subject: [PATCH] [~] Refactor --- dotfiles/.local/bin/commands | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/.local/bin/commands b/dotfiles/.local/bin/commands index 10f9df4..467d303 100755 --- a/dotfiles/.local/bin/commands +++ b/dotfiles/.local/bin/commands @@ -1476,7 +1476,8 @@ def pm_service(argv): if not cmd is None and ( 'TurnedOn' in cmd or - 'PrevIdle' in cmd + 'PrevIdle' in cmd or + 'PMRD: kIOMessageSystemWillPowerOn' in cmd ): if ( ('AppleMultitouchDevice' in cmd and 'tp' in options.events) or