Add polkit-gnome to i3 and sway

axtloss/rework-partitioning
axtlos 2 years ago
parent 464baca59b
commit 74befc9b6c
No known key found for this signature in database
GPG Key ID: DD6D66939396C90E

@ -113,6 +113,7 @@ fn install_i3() {
"lightdm-gtk-greeter-settings", "lightdm-gtk-greeter-settings",
"xdg-user-dirs", "xdg-user-dirs",
"dex", "dex",
"polkit-gnome",
]); ]);
files_eval( files_eval(
files::append_file( files::append_file(
@ -122,9 +123,16 @@ fn install_i3() {
"Add lightdm greeter", "Add lightdm greeter",
); );
files_eval( files_eval(
files::append_file("/mnt/etc/i3/config", "exec_always --no-startup-id dex -a\n"), files::append_file("/mnt/etc/i3/config", "exec --no-startup-id dex -a\n"),
"Add dex to i3 config for autostart", "Add dex to i3 config for autostart",
); );
files_eval(
files::append_file(
"/mnt/etc/i3/config",
"exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1",
),
"Add polkit gnome to i3 config",
);
enable_dm("lightdm"); enable_dm("lightdm");
} }
@ -145,14 +153,22 @@ fn install_sway() {
"sddm", "sddm",
"xdg-user-dirs", "xdg-user-dirs",
"dex", "dex",
"polkit-gnome",
]); ]);
files_eval( files_eval(
files::append_file( files::append_file(
"/mnt/etc/sway/config", "/mnt/etc/sway/config",
"exec_always --no-startup-id dex -a\n", "exec --no-startup-id dex -a\n",
), ),
"Add dex to sway config for autostart", "Add dex to sway config for autostart",
); );
files_eval(
files::append_file(
"/mnt/etc/sway/config",
"exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1",
),
"Add polkit gnome to sway config",
);
enable_dm("sddm"); enable_dm("sddm");
} }

Loading…
Cancel
Save