瀏覽代碼

fix user for corectrl polkit rule

fix typo broken json for waybar
Casey DeLorme 2 年之前
父節點
當前提交
6ffb2901b2
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 1
      install/etc/polkit-1/rules.d/90-corectrl.rules
  2. 1 0
      install/etc/skel/.config/waybar/config

+ 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"],