Login scripts

Stores WM to last_login_gui file to allow for auto-login to the last
used GUI

Removes old log file, executes GUI with new one
master
John Mertz 2 years ago
parent b99662e7c1
commit ed8c247372

@ -0,0 +1,5 @@
#!/bin/bash
rm /home/jpm/.i3log
echo i3 > /home/jpm/.config/last_login_gui
exec startx 2> /home/jpm/.i3log

@ -0,0 +1,5 @@
#!/bin/bash
rm /home/jpm/.swaylog
echo sway > /home/jpm/.config/last_login_gui
exec sway 2> /home/jpm/.swaylog
Loading…
Cancel
Save