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

7 lines
133 B
Plaintext
Raw Normal View History

2024-05-13 23:04:40 -04:00
#!/usr/bin/env bash
if pkill -0 -f wayland-idle-inhibitor; then
pkill -f wayland-idle-inhibitor
else
wayland-idle-inhibitor &
fi