random ah update

This commit is contained in:
RafayAhmad 2026-09-02 17:51:42 +05:00
parent 0d20b7f7ce
commit 4230257e64
Signed by: RafayAhmad
SSH key fingerprint: SHA256:WURX8viobA1uawb4dWM3LqYrY+XPcZcXhAXAlrYdhtE
6 changed files with 54 additions and 12 deletions

View file

@ -12,8 +12,8 @@ handle() {
case $1 in
activewindow*)
echo $1
if [[ $1 == *YouTube* || $1 == *Instagram* ]]; then
hyprctl dispatch killactive
if [[ $1 == *YouTube* ]]; then
hyprctl dispatch 'hl.dsp.window.close()'
notify-send "ENOUGH, LOCK IN" "GET BACK TO WORK" -u critical -i $HOME/dotfiles/scripts/discipline.png
mpv $HOME/dotfiles/scripts/getbacktowork.mp3
fi