Quellcode durchsuchen

fix user for corectrl polkit rule

fix typo broken json for waybar
Casey DeLorme vor 2 Jahren
Ursprung
Commit
6ffb2901b2

+ 1 - 1
install/etc/polkit-1/rules.d/90-corectrl.rules

@@ -3,7 +3,7 @@ polkit.addRule(function(action, subject) {
          action.id == "org.corectrl.helperkiller.init") &&
         subject.local == true &&
         subject.active == true &&
-        subject.isInGroup("your-user-group")) {
+        subject.isInGroup("sudo")) {
             return polkit.Result.YES;
     }
 });

+ 1 - 0
install/etc/skel/.config/waybar/config

@@ -1,3 +1,4 @@
+{
     "height": 30,
     "spacing": 4,
     "modules-left": ["sway/workspaces", "sway/mode"],