diff --git a/src/functions/desktops.rs b/src/functions/desktops.rs index 07094aa..15f3e46 100644 --- a/src/functions/desktops.rs +++ b/src/functions/desktops.rs @@ -112,6 +112,7 @@ fn install_i3() { "lightdm-gtk-greeter", "lightdm-gtk-greeter-settings", "xdg-user-dirs", + "dex", ]); files_eval( files::append_file( @@ -120,6 +121,13 @@ fn install_i3() { ), "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"); } @@ -139,7 +147,15 @@ fn install_sway() { "wireplumber", "sddm", "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"); }