32 lines
1.5 KiB
XML
32 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE policyconfig PUBLIC
|
|
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
|
<!--
|
|
Lets a logged-in user run Kadence's helper through pkexec.
|
|
|
|
The default is `auth_admin_keep`: you authenticate once and the grant is kept
|
|
for the rest of the session, so a day of pomodoros is one password prompt, not
|
|
twenty. install.sh can optionally drop in a rule that skips the prompt
|
|
entirely for one user.
|
|
-->
|
|
<policyconfig>
|
|
<vendor>Kadence</vendor>
|
|
<vendor_url>https://github.com/</vendor_url>
|
|
|
|
<action id="org.kadence.helper.manage-hosts">
|
|
<description>Manage the Kadence website block list</description>
|
|
<description xml:lang="ru">Управление списком заблокированных сайтов Kadence</description>
|
|
<message>Authentication is required to change which websites are blocked.</message>
|
|
<message xml:lang="ru">Для изменения списка заблокированных сайтов требуется аутентификация.</message>
|
|
<icon_name>kadence</icon_name>
|
|
<defaults>
|
|
<allow_any>auth_admin</allow_any>
|
|
<allow_inactive>auth_admin</allow_inactive>
|
|
<allow_active>auth_admin_keep</allow_active>
|
|
</defaults>
|
|
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/kadence-helper</annotate>
|
|
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
|
</action>
|
|
</policyconfig>
|