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
This commit is contained in:
John Mertz 2020-10-10 05:06:58 -04:00
rodič b99662e7c1
revize ed8c247372
2 změnil soubory, kde provedl 10 přidání a 0 odebrání

5
i3/starti3.sh Executable file
Zobrazit soubor

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

5
sway/startsway.sh Executable file
Zobrazit soubor

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