From 41308133717cb6a6660f61dcd316db00dc6fe16f Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 10 Apr 2020 22:11:49 -0400 Subject: [PATCH] no more larbswm garbage, manual commenting --- larbs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/larbs.sh b/larbs.sh index 20c24cc..c7fbcbd 100644 --- a/larbs.sh +++ b/larbs.sh @@ -236,8 +236,8 @@ dbus-uuidgen > /var/lib/dbus/machine-id grep -q "laptop-updates.brave.com" /etc/hosts || echo "0.0.0.0 laptop-updates.brave.com 0.0.0.0 go-updater.brave.com" >> /etc/hosts -# Let LARBS know the WM it's supposed to run. -echo "$edition" > "/home/$name/.local/share/larbs/wm"; chown -R "$name":wheel "/home/$name/.local" +# If user chose i3, start i3 on startx by default. +[ "$edition" = "i3" ] && sed -i "s/^exec dwm/# exec dwm/;s/^#\s*exec i3/exec i3/;s/#\s*export STATUSBAR=\"\?i3blocks\"\?/export STATUSBAR=\"i3blocks\"/" "/home/$name/.xinitrc" # Start/restart PulseAudio. killall pulseaudio; sudo -n "$name" pulseaudio --start