diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-05-01 15:06:32 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 15:16:52 +0300 |
| commit | 041e7bdb372cf4875e4771255519af29e2f4f161 (patch) | |
| tree | 98c9a56c482353c0b1b0c9708add3bdfaa5820c3 /home-manager/homeModules/attachments/hypr-scripts | |
| parent | 1382d9b8d16b3655a212315d7b823d73520f6d39 (diff) | |
fix(hyprland): make rules more general
Diffstat (limited to 'home-manager/homeModules/attachments/hypr-scripts')
| -rwxr-xr-x[-rw-r--r--] | home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh b/home-manager/homeModules/attachments/hypr-scripts/bitwarden-float.sh index a79ec90..7edd5f2 100644..100755 --- 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]}; \ |
