diff options
| -rw-r--r-- | config/hypr/hypridle.conf | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf index aeb0258c..4b8cd7e2 100644 --- a/config/hypr/hypridle.conf +++ b/config/hypr/hypridle.conf @@ -2,6 +2,7 @@ # Hypridle # Original config submitted by https://github.com/SherLock707 +$iDIR="$HOME/.config/swaync/images/ja.png" general { lock_cmd = pidof hyprlock || hyprlock # runs hyprlock if it is not already running (this is always run when "loginctl lock-session" is called) @@ -21,16 +22,16 @@ general { # Warn listener { - timeout = 540 # 9 min - on-timeout = notify-send " You are idle!" # command to run when timeout has passed - on-resume = notify-send " Welcome back!" # command to run when activity is detected after timeout has fired. + timeout = 540 # 9 min + on-timeout = notify-send -i $iDIR " You are idle!" # command to run when timeout has passed + on-resume = notify-send -i $iDIR " Oh! you're Back" " Hello !!!" # command to run when activity is detected after timeout has fired. } # Screenlock listener { timeout = 600 # 10 min on-timeout = loginctl lock-session # command to run when timeout has passed - #on-resume = notify-send " Desktop Unlocked!" # command to run when activity is detected after timeout has fired. + #on-resume = notify-send -i $iDIR " System Unlocked!" # command to run when activity is detected after timeout has fired. } # Turn off screen @@ -45,5 +46,5 @@ listener { # listener { # timeout = 1200 # 20 min # on-timeout = systemctl suspend # command to run when timeout has passed - # on-resume = notify-send "Welcome back to your desktop!" # command to run when activity is detected after timeout has fired. + # on-resume = notify-send -i $iDIR " Oh! you're back" "Hello !!!" # command to run when activity is detected after timeout has fired. # } |
