mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
don't fork i3lock
This commit is contained in:
parent
e385335631
commit
1fa98f4f78
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ if ! pidof i3lock > /dev/null; then
|
|||
brightnessctl --quiet --save
|
||||
brightnessctl --quiet set 10%
|
||||
fi
|
||||
/usr/bin/i3lock --color=1d2021 --ignore-empty-password
|
||||
/usr/bin/i3lock --color=1d2021 --ignore-empty-password --nofork
|
||||
if [ "$BRIGHTNESS" = true ]; then
|
||||
brightnessctl --quiet --restore
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Before=sleep.target
|
|||
|
||||
[Service]
|
||||
User=%I
|
||||
Type=forking
|
||||
Type=simple
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/usr/local/bin/lock
|
||||
ExecStartPost=/usr/bin/sleep 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue