File: notion-lock

package info (click to toggle)
notion 4.0.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,676 kB
  • sloc: ansic: 47,508; sh: 2,096; makefile: 603; perl: 270
file content (10 lines) | stat: -rwxr-xr-x 192 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if xscreensaver-command -version >/dev/null 2>&1; then
	exec xscreensaver-command -lock
else
	if type "i3lock" > /dev/null; then
		exec i3lock -n -c 000000
	else
		exec xlock
	fi
fi