You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
1234567891011121314151617 |
- {{ 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
|