Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
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
|