#!/bin/bash
pkill swayidle
RT=$?
if [ $RT -eq 0 ]
then
notify-send -t 1000 noidle "Screensaver disabled"
else
notify-send noidle "Unable to disable screensaver"
fi