Fix hyprctl dispatch in notifications for focusing window
This commit is contained in:
parent
f0acc7dc05
commit
2e3a9b9eb8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue