nixos-config/home-manager/wayland/eww/scripts/toggle-idle-inhibit

7 lines
133 B
Bash
Executable file

#!/usr/bin/env bash
if pkill -0 -f wayland-idle-inhibitor; then
pkill -f wayland-idle-inhibitor
else
wayland-idle-inhibitor &
fi