diff --git a/scripts/emacs-hyprland-notify b/scripts/emacs-hyprland-notify index f6ff56f..b68bbad 100755 --- a/scripts/emacs-hyprland-notify +++ b/scripts/emacs-hyprland-notify @@ -2,5 +2,5 @@ exec nohup sh -s -- "$@" <<-'EOF' >/dev/null 2>&1 & STATUS="$(notify-send --action='focusEmacs,Focus EmacsClient' "$@")" - [ "$STATUS" = 0 ] && exec hyprctl dispatch focuswindow '^(emacs)$' + [ "$STATUS" = 0 ] && exec hyprctl dispatch focuswindow 'class:^emacs$' EOF