您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。
|
- {{ ansible_managed | comment }}
-
- [Unit]
- Description=barrier unlock lockscreen until pipe is closed
- PartOf=graphical-session.target
-
- [Service]
- Type=simple
- ExecStartPre=fish -c "not test -p .barrier-unlock-lockscreen.fifo && mkfifo .barrier-unlock-lockscreen.fifo; test -p .barrier-unlock-lockscreen.fifo"
- ExecStartPost=systemctl --user stop lockscreen.service
- ExecStartPost=systemctl --user start barrierc@localhost.service
- ExecStart=sh -c "cat < .barrier-unlock-lockscreen.fifo"
- ExecStopPost=systemctl --user start lockscreen.service
- ExecStopPost=systemctl --user stop barrierc@localhost.service
-
- [Install]
- WantedBy=graphical-session.target
|