Skip to content

Latest commit

 

History

History
63 lines (47 loc) · 1.21 KB

pxl-design.org

File metadata and controls

63 lines (47 loc) · 1.21 KB

The Design of pxl

pxl calls xlock periodically, at a fixed interval.

It is a shell script.

xlock or xlockmore is required.

pxl starts with a shebang.

pxl has only one parameter, which is required. The -t parameter is measured in secods. This is the interval that xlock is called

pxl loops indefinitely. It locks the screen every t seconds.

When a password is input to unlock the screen, the timing of t seconds restart.

Put shebang, readparameter, and loop together. Tangle it to ../pxl.

../pxl needs to be executable. The code below is executed, when this org document is exported, which sets ../pxl to be executable.

chmod +x ../pxl