Skip to content

Commit

Permalink
various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalOughtness authored Dec 30, 2023
1 parent 2c6b366 commit 8390de3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/common-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ install:
- lxpolkit
- xdg-user-dirs
- dbus-tools
- dbus-x11
- wl-clipboard
- gnome-keyring

# sound
- wireplumber
Expand Down
3 changes: 2 additions & 1 deletion config/files/usr/etc/polkit-1/rules.d/10-udisks2.rules
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
polkit.addRule(function(action, subject) {
if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" ||
action.id == "org.freedesktop.udisks2.filesystem-mount") &&
action.id == "org.freedesktop.udisks2.filesystem-mount" ||
action.id == "org.freedesktop.udisks2.encrypted-unlock-system") &&
subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
Expand Down

0 comments on commit 8390de3

Please sign in to comment.