mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
14 lines
241 B
Bash
Executable file
14 lines
241 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# shellcheck disable=SC2016
|
|
|
|
exec xidlehook \
|
|
--not-when-fullscreen \
|
|
--socket "$XIDLEHOOK_SOCK" \
|
|
--timer 600 \
|
|
'i3lock -i "$XDG_CACHE_HOME/lock.png"' \
|
|
'' \
|
|
--timer 3600 \
|
|
'loginctl suspend' \
|
|
''
|