Polkit: Difference between revisions
imported>Tkuwill m I wrote the code by myself. |
imported>Tkuwill m I wrote the code by myself. Reference: sed manual. |
||
Line 41: | Line 41: | ||
# General stuff | # General stuff | ||
... | ... | ||
/nix/store/$(ls -la /nix/store | grep 'mate-polkit | /nix/store/$(ls -la /nix/store | grep 'mate-polkit' | grep '4096' | awk '{print $9}' | sed -n '$p')/libexec/polkit-mate-authentication-agent-1 & | ||
... | ... | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Use this method, you won't need to change the codes even <code>mate.mate-polkit</code> gets an update. |