mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
fix: pip padding
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
let
|
let
|
||||||
firefoxPip = "class:^(firefox)$,title:^(Picture-in-Picture)$";
|
firefoxPip = "class:^(firefox)$,title:^(Picture-in-Picture)$";
|
||||||
firefoxPipInitial = "class:^(firefox)$,title:^(Firefox)$";
|
firefoxPipInitial = "class:^(firefox)$,title:^(Firefox)$";
|
||||||
|
pipPadding = toString (config.theme.md3-evo.padding * 2);
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
"keepaspectratio,${firefoxPip}"
|
"keepaspectratio,${firefoxPip}"
|
||||||
@@ -49,8 +50,8 @@
|
|||||||
"pin,${firefoxPipInitial}"
|
"pin,${firefoxPipInitial}"
|
||||||
"fullscreenstate 2 0,${firefoxPip}"
|
"fullscreenstate 2 0,${firefoxPip}"
|
||||||
"fullscreenstate 2 0,${firefoxPipInitial}"
|
"fullscreenstate 2 0,${firefoxPipInitial}"
|
||||||
"move 22 72,${firefoxPip}"
|
"move ${pipPadding} ${pipPadding},${firefoxPip}"
|
||||||
"move 22 72,${firefoxPipInitial}"
|
"move ${pipPadding} ${pipPadding},${firefoxPipInitial}"
|
||||||
# For some reason it really wants to be maximized
|
# For some reason it really wants to be maximized
|
||||||
"suppressevent maximize,class:^(neovide)$"
|
"suppressevent maximize,class:^(neovide)$"
|
||||||
# pinentry
|
# pinentry
|
||||||
|
|||||||
Reference in New Issue
Block a user