feat(user/malte): Firefox Picture-in-Picture mode improvements

This commit is contained in:
Malte Tammena 2024-04-26 20:32:32 +02:00
parent 445f625606
commit 157da97182

View file

@ -249,12 +249,12 @@
}; };
windowrule = [ windowrule = [
# Pinentry fancyness # Pinentry fancyness, show floating on all screens
"float,class:^(pinentry-qt)$" "float,class:^(pinentry-)"
"pin,class:^(pinentry-qt)$" "pin,class:^(pinentry-)"
"bordercolor rgb(ff0000) rgb(ff0000),class:^(pinentry-qt)$" "bordercolor rgb(ff0000) rgb(ff0000),class:^(pinentry-)"
"center,class:^(pinentry-qt)$" "center,class:^(pinentry-)"
"animation popin,class:^(pinentry-qt)$" "animation popin,class:^(pinentry-)"
"bordercolor rgb(ff0000),xwayland:1" "bordercolor rgb(ff0000),xwayland:1"
# Yikes, firefox sharing indicator! # Yikes, firefox sharing indicator!
"float,title:^(Firefox Sharing Indicator)$" "float,title:^(Firefox Sharing Indicator)$"
@ -266,9 +266,12 @@
]; ];
windowrulev2 = [ windowrulev2 = [
# Prevent pinentry from losing focus
"stayfocused,class:^(pinentry-)"
# Float picture-in-picture videos # Float picture-in-picture videos
"float,title:^(Picture-in-Picture)$,class:^(firefox)$" "float,title:^(Picture-in-Picture)$,class:^(firefox)$"
"pin,title:^(Picture-in-Picture)$,class:^(firefox)$" "pin,title:^(Picture-in-Picture)$,class:^(firefox)$"
"suppressevent fullscreen maximize,title:^(Picture-in-Picture)$,class:^(firefox)$"
# Fix various steam windows # Fix various steam windows
"workspace 7,class:^(Steam)$" "workspace 7,class:^(Steam)$"
"float,title:^(Friends List)$,class:^(Steam)$" "float,title:^(Friends List)$,class:^(Steam)$"