Compare commits
3 commits
e6a7ed8842
...
817a0ab4d3
Author | SHA1 | Date | |
---|---|---|---|
817a0ab4d3 | |||
e29748289b | |||
ffe8de0b06 |
3 changed files with 8 additions and 9 deletions
5
config-files/polkit/00-mounting.rules
Normal file
5
config-files/polkit/00-mounting.rules
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
polkit.addRule(function(action, subject)
|
||||||
|
{
|
||||||
|
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
|
||||||
|
return polkit.Result.YES;
|
||||||
|
});
|
|
@ -9,9 +9,3 @@ polkit.addRule(function(action, subject)
|
||||||
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/zzz" && subject.isInGroup("wheel"))
|
if (action.id == "org.freedesktop.policykit.exec" && action.lookup("program") == "/bin/zzz" && subject.isInGroup("wheel"))
|
||||||
return polkit.Result.YES;
|
return polkit.Result.YES;
|
||||||
});
|
});
|
||||||
|
|
||||||
polkit.addRule(function(action, subject)
|
|
||||||
{
|
|
||||||
if (action.id.startsWith("org.freedesktop.udisks2.") && subject.isInGroup("wheel"))
|
|
||||||
return polkit.Result.YES;
|
|
||||||
});
|
|
|
@ -748,8 +748,8 @@ bash
|
||||||
Additionally `kanshi` and `wlogout` may be added in the greeter session.
|
Additionally `kanshi` and `wlogout` may be added in the greeter session.
|
||||||
|
|
||||||
```
|
```
|
||||||
# cp -r void-desktop/config-files/kanshi /etc/greetd/config/
|
# cp -r void-desktop/config-files/kanshi /etc/greetd/config
|
||||||
# cp -r void-desktop/config-files/wlogout /etc/greetd/config/
|
# cp -r void-desktop/config-files/wlogout /etc/greetd/config
|
||||||
```
|
```
|
||||||
|
|
||||||
### Window manager
|
### Window manager
|
||||||
|
|
Loading…
Reference in a new issue