Set Firefox PiP as pinned floating window

This commit is contained in:
coolneng 2022-05-02 13:23:33 +02:00
parent 6127f66f1a
commit 5232b8a3e9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ exec_always {
for_window [app_id="mpv"] floating enable for_window [app_id="mpv"] floating enable
for_window [app_id="imv"] floating enable for_window [app_id="imv"] floating enable
for_window [app_id="popup"] floating enable, resize set 1280 720 for_window [app_id="popup"] floating enable, resize set 1280 720
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 640 480; sticky enable
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
# Resize zathura to 70% in tiling mode # Resize zathura to 70% in tiling mode
for_window [app_id="org.pwmt.zathura" workspace=$workspace4] resize set width 70 ppt for_window [app_id="org.pwmt.zathura" workspace=$workspace4] resize set width 70 ppt
# Resize R plots to 40% in tiling mode # Resize R plots to 40% in tiling mode