[feature] Polkit rule for authentication.

main
Shinyzenith 2 years ago
parent ced2ea3c95
commit 21e24028f0
No known key found for this signature in database
GPG Key ID: A3DFCDC66E9E2950

@ -0,0 +1,5 @@
polkit.addRule(function(action, subject) {
if (action.lookup("program") == "/usr/local/bin/swhkd") {
return polkit.Result.YES;
}
})
Loading…
Cancel
Save