Add dex to sway and i3 for autostart

axtloss/rework-partitioning
axtlos 2 years ago
parent d08f70139d
commit 595f9f967e
No known key found for this signature in database
GPG Key ID: DD6D66939396C90E

@ -112,6 +112,7 @@ fn install_i3() {
"lightdm-gtk-greeter", "lightdm-gtk-greeter",
"lightdm-gtk-greeter-settings", "lightdm-gtk-greeter-settings",
"xdg-user-dirs", "xdg-user-dirs",
"dex",
]); ]);
files_eval( files_eval(
files::append_file( files::append_file(
@ -120,6 +121,13 @@ fn install_i3() {
), ),
"Add lightdm greeter", "Add lightdm greeter",
); );
files_eval(
files::append_file(
"/mnt/etc/i3/config",
"exec_always --no-startup-id dex -a\n",
),
"Add dex to i3 config for autostart",
);
enable_dm("lightdm"); enable_dm("lightdm");
} }
@ -139,7 +147,15 @@ fn install_sway() {
"wireplumber", "wireplumber",
"sddm", "sddm",
"xdg-user-dirs", "xdg-user-dirs",
"dex",
]); ]);
files_eval(
files::append_file(
"/mnt/etc/sway/config",
"exec_always --no-startup-id dex -a\n",
),
"Add dex to sway config for autostart",
);
enable_dm("sddm"); enable_dm("sddm");
} }

Loading…
Cancel
Save