From c301428a28066088efe2aab521b3088320b370c0 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Mon, 8 Aug 2022 20:05:23 +0800 Subject: [PATCH] sway: match title for firefox also in chinese --- .config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index d5b2f24..3b01171 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -200,7 +200,7 @@ bindsym XF86MonBrightnessDown exec 'notify-send Brightness "Brightness set to $( bindsym Print exec 'export STAMP=$(date +%Y%m%d-%H%M%S); grim ~/Pictures/$STAMP.png; notify-send -i ~/Pictures/$STAMP.png Screenshot "$STAMP.png saved" ' bindsym $mod+Print exec 'STAMP=$(date +%Y%m%d-%H%M%S);COR=$(slurp); grim -g "$COR" ~/Pictures/$STAMP.png; notify-send -i ~/Pictures/$STAMP.png Screenshot "$STAMP.png saved, $COR" ' -for_window [app_id="firefox" title="^Picture-in-Picture$"] { +for_window [app_id="firefox" title="^(Picture-in-Picture$|子母畫面)"] { border none floating enable sticky enable -- 2.45.2