ukui-screensaver/data/screensaver-startup.sh

7 lines
277 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
ukui-screensaver-dialog --lock-startup & >/dev/null 2>&1
/usr/lib/ukui-screensaver/screensaver-focus-helper & >/dev/null 2>&1
#如果锁屏和桌面进程并行启动会对锁屏启动时间有较大影响因此先启动锁屏1s后再往下执行
sleep 1