From 595f9f967eb3871d8274a5720791dcbf601423ad Mon Sep 17 00:00:00 2001 From: axtlos Date: Sat, 25 Feb 2023 23:13:58 +0100 Subject: [PATCH] Add dex to sway and i3 for autostart --- src/functions/desktops.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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"); }