Skip to content

Commit

Permalink
Fix window ID equality checking for Hyprland
Browse files Browse the repository at this point in the history
Previous commit changed the way window ID is queried but didn't update equality checking bit
  • Loading branch information
postsolar committed Jan 9, 2024
1 parent 64f83d4 commit cf2067a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.d/done.fish
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function __done_is_process_window_focused
string match --quiet --regex "^true" (swaymsg -t get_tree | jq ".. | objects | select(.id == "$__done_initial_window_id") | .visible")
return $status
else if test -n "$HYPRLAND_INSTANCE_SIGNATURE"
and test $__done_initial_window_id -eq (hyprctl activewindow | awk 'NR==13 {print $2}')
and test $__done_initial_window_id = (hyprctl activewindow | awk 'NR==1 {print $2}')
return $status
else if test "$__done_initial_window_id" != "$__done_focused_window_id"
return 1
Expand Down

0 comments on commit cf2067a

Please sign in to comment.