nixdots/config/hypr/scripts/idle_inhibitor.sh
2025-10-18 17:35:04 +03:00

11 lines
196 B
Bash
Executable file

#!/bin/bash
a=$(pidof hypridle)
if [[ $a ]]
then
killall -9 hypridle
notify-send "idle inhibitor activated"
else
notify-send "idle inhibitor deactivated"
hypridle &> /dev/null
fi