From bbb6368e8ce9b52f1a4f8645468fae18f96c3127 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Tue, 30 May 2023 10:38:43 +0200 Subject: [PATCH] cronhelp: use environment from window manager --- misc/cronhelp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/cronhelp b/misc/cronhelp index ad336cd..2680ab1 100755 --- a/misc/cronhelp +++ b/misc/cronhelp @@ -2,6 +2,9 @@ #dep:xprintidle pgrep chronic ALLARGS=("$@") +WINDOW_MANAGER=awesome +WM_PID=$(pgrep WINDOW_MANAGER | head -n 1) +export "${(@ps:\000:)$(