Open timgreen opened 1 year ago
workaround, I make a wrapper shellscript around every pkill command: swhkdctl.sh
. Then I add a new polkit policy for it and configured systemd service to use new command.
pkexec swhkdctl.sh reload
Yep, a pkexec policy file / wrapper script would be ideal for this. Would you mind opening a PR? @uningan
pkexec pkill -HUP swhkd
requires password since there is no default policy for pkill.One solutoin is to add reload option
-r, --reload-config
toswhkd