random ah update
This commit is contained in:
parent
0d20b7f7ce
commit
4230257e64
6 changed files with 54 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue