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
This commit is contained in:
John Mertz 2020-10-10 05:06:58 -04:00
父節點 b99662e7c1
當前提交 ed8c247372
共有 2 個檔案被更改,包括 10 行新增0 行删除

5
i3/starti3.sh Executable file
查看文件

@ -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
查看文件

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