Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F41524312
screenlocker script
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
BBlack
Nov 22 2023, 6:59 PM
2023-11-22 18:59:22 (UTC+0)
Size
278 B
Referenced Files
None
Subscribers
None
screenlocker script
View Options
#!/bin/sh
dpmsrevert
()
{
xset +dpms dpms force on
xset +dpms dpms
0
0
720
}
trap
dpmsrevert HUP INT TERM
scrot /tmp/screen_locked.png
sync
mogrify -scale
10
% -scale
1000
% /tmp/screen_locked.png
sync
xset +dpms dpms
0
0
10
i3lock -nfei /tmp/screen_locked.png
dpmsrevert
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14365013
Default Alt Text
screenlocker script (278 B)
Attached To
Mode
P53731 screenlocker script
Attached
Detach File
Event Timeline
Log In to Comment