diff --git a/home/desktop/niri.nix b/home/desktop/niri.nix index d1fa64f..23b3170 100644 --- a/home/desktop/niri.nix +++ b/home/desktop/niri.nix @@ -14,7 +14,7 @@ let # If it matches Picture-in-Picture, invoke nirius toggle-follow-mode WINDOW_TITLE=$(niri msg focused-window | grep "Title:" | sed 's/Title: //') - if [[ "$WINDOW_TITLE" =~ [Pp]icture[-\ ]in[-\ ][Pp]icture ]]; then + if [[ "$WINDOW_TITLE" =~ [Pp]icture.in.[Pp]icture ]]; then # Executes nirius follow mode trigger nirius toggle-follow-mode --policy always fi