From d08f70139da2fdbfa633155079ac6557ceecd74b Mon Sep 17 00:00:00 2001 From: axtlos Date: Sat, 25 Feb 2023 16:42:52 +0100 Subject: [PATCH] run cargo fmt --- src/functions/base.rs | 5 ++--- src/functions/desktops.rs | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/functions/base.rs b/src/functions/base.rs index 5f6fdef..70a6fd4 100755 --- a/src/functions/base.rs +++ b/src/functions/base.rs @@ -79,11 +79,10 @@ pub fn install_base_packages(kernel: String) { exec_eval( exec_chroot( "systemctl", - vec![String::from("enable"), String::from("cups")] + vec![String::from("enable"), String::from("cups")], ), - "Enable CUPS" + "Enable CUPS", ); - } pub fn genfstab() { diff --git a/src/functions/desktops.rs b/src/functions/desktops.rs index 30c60d1..07094aa 100644 --- a/src/functions/desktops.rs +++ b/src/functions/desktops.rs @@ -44,7 +44,7 @@ fn install_bspwm() { "lightdm", "lightdm-gtk-greeter", "lightdm-gtk-greeter-settings", - "xdg-user-dirs" + "xdg-user-dirs", ]); files_eval( files::append_file( @@ -66,7 +66,7 @@ fn install_awesome() { "lightdm", "lightdm-gtk-greeter", "lightdm-gtk-greeter-settings", - "xdg-user-dirs" + "xdg-user-dirs", ]); files_eval( files::append_file( @@ -88,7 +88,7 @@ fn install_herbstluftwm() { "lightdm", "lightdm-gtk-greeter", "lightdm-gtk-greeter-settings", - "xdg-user-dirs" + "xdg-user-dirs", ]); files_eval( files::append_file( @@ -111,7 +111,7 @@ fn install_i3() { "lightdm", "lightdm-gtk-greeter", "lightdm-gtk-greeter-settings", - "xdg-user-dirs" + "xdg-user-dirs", ]); files_eval( files::append_file( @@ -138,7 +138,7 @@ fn install_sway() { "pipewire-jack", "wireplumber", "sddm", - "xdg-user-dirs" + "xdg-user-dirs", ]); enable_dm("sddm"); }