From 041e7bdb372cf4875e4771255519af29e2f4f161 Mon Sep 17 00:00:00 2001 From: spl3g Date: Thu, 1 May 2025 15:06:32 +0300 Subject: fix(hyprland): make rules more general --- home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh (limited to 'home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh') diff --git a/home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh b/home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh old mode 100644 new mode 100755 index a79ec90..7edd5f2 --- a/home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh +++ b/home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh @@ -2,7 +2,7 @@ windowtitlev2() { IFS=',' read -r -a args <<< "$1" args[0]="${args[0]#*>>}" - if [[ ${args[1]} == "Extension: (Bitwarden Password Manager) - — Mozilla Firefox" ]]; then + if [[ ${args[1]} =~ "Extension: (Bitwarden Password Manager)" ]]; then hyprctl --batch "\ dispatch setfloating address:0x${args[0]}; \ dispatch resizewindowpixel exact 20% 50%, address:0x${args[0]}; \ -- cgit v1.2.3