d7a21e2 ^
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env sh pid_file="/tmp/wayland-idle-inhibitor-$(id --user).pid" pid=$(cat "${pid_file}") if [ -n "${pid}" ] && kill -0 "${pid}" then echo -n " " else echo -n " " fi