Jump to content

Polkit: Difference between revisions

20 bytes added ,  1 October 2023
m
Fixed syntax highlighting
imported>Kavika13
mNo edit summary
imported>IgorM
m (Fixed syntax highlighting)
Line 63: Line 63:
If you use dwm patched with [https://dwm.suckless.org/patches/autostart/dwm-autostart-20210120-cb3f58a.diff dwm-autostart-20210120-cb3f58a.diff], you can add a command into <code>~/.dwm/autostart.sh</code> to start a polkit agent. Here take <code>mate.mate-polkit</code> for example:
If you use dwm patched with [https://dwm.suckless.org/patches/autostart/dwm-autostart-20210120-cb3f58a.diff dwm-autostart-20210120-cb3f58a.diff], you can add a command into <code>~/.dwm/autostart.sh</code> to start a polkit agent. Here take <code>mate.mate-polkit</code> for example:


<syntaxhighlight>
<syntaxhighlight lang=bash>
#!/bin/sh
#!/bin/sh
# General stuff
# General stuff
Line 74: Line 74:
Use this method, you won't need to change the codes even <code>mate.mate-polkit</code> gets an update.
Use this method, you won't need to change the codes even <code>mate.mate-polkit</code> gets an update.


<syntaxhighlight>
<syntaxhighlight lang=bash>
#!/bin/sh
#!/bin/sh
...
...
Anonymous user