First draft of the installation script

This commit is contained in:
TuDatTr
2020-05-23 15:00:17 +02:00
parent e6ec25f60d
commit c6fd8e754f
7 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
[Unit]
Description=March Reboot Service
[Service]
ExecStart=/root/arch-reboot.sh
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=User suspend actions
Before=sleep.target
[Service]
User=%I
Type=forking
Environment=DISPLAY=:0
ExecStartPre=
ExecStart= /home/tuan/.scripts/i3lock.py
ExecStartPost=/usr/bin/sleep 1
[Install]
WantedBy=sleep.target