~xdavidwu/dotfiles

c301428a28066088efe2aab521b3088320b370c0 — xdavidwu 2 years ago 3366ff4
sway: match title for firefox also in chinese
1 files changed, 1 insertions(+), 1 deletions(-)

M .config/sway/config
M .config/sway/config => .config/sway/config +1 -1
@@ 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