diff options
author | Luke Smith <luke@lukesmith.xyz> | 2020-04-10 22:11:49 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-10 22:11:49 -0400 |
commit | 41308133717cb6a6660f61dcd316db00dc6fe16f (patch) | |
tree | ea10babb1c65e90e6068d917ad83d65f40222fb7 | |
parent | c539b8949ce31fcdd08e7f0bc9f36cd9a7c08a3e (diff) |
no more larbswm garbage, manual commenting
-rw-r--r-- | larbs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |