Add a ton of i3 and sway stuff
This commit is contained in:
parent
15f30efa7b
commit
9a43cae5fa
22 changed files with 435 additions and 47 deletions
2
other-files/lid-close/laptop-lid
Normal file
2
other-files/lid-close/laptop-lid
Normal file
|
@ -0,0 +1,2 @@
|
|||
event=button/lid.*
|
||||
action=/home/askiiart/.config/i3/config.d/lid-close.sh
|
|
@ -1,2 +0,0 @@
|
|||
event=button/lid.*
|
||||
action=/etc/
|
|
@ -1,13 +1,13 @@
|
|||
[Unit]
|
||||
Description=Lock and suspend on lid closed
|
||||
Description=User suspend actions
|
||||
Before=sleep.target
|
||||
|
||||
[Service]
|
||||
User=%r
|
||||
Type=forking
|
||||
User=%Install
|
||||
Type-forking
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/usr/bin/i3lock -ef -c 202f56
|
||||
ExecStartPost=/us/bin/sleep 1
|
||||
ExecStartPre=/usr/bin/i3lock -c 202f56
|
||||
ExecStart=/usr/bin/systemctl suspend
|
||||
|
||||
[Install]
|
||||
WantedBy=sleep.target
|
Loading…
Add table
Add a link
Reference in a new issue