#!/bin/sh currentdir=$(pgrep hypridle) if [[ $idle > 0 ]]; then kill $idle else hypridle & fi