Fix the firefox indicator even more
This commit is contained in:
parent
e6ab068ab3
commit
9cb606f433
@ -21,6 +21,27 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
browsers = [ "firefox" ];
|
browsers = [ "firefox" ];
|
||||||
};
|
};
|
||||||
|
wayland.windowManager.sway.config = {
|
||||||
|
window.commands = [
|
||||||
|
{
|
||||||
|
criteria = { title = "Firefox — Sharing Indicator"; };
|
||||||
|
command = "floating enable";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = { title = "Firefox — Sharing Indicator"; };
|
||||||
|
command = "no_focus";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = { title = "Firefox — Sharing Indicator"; };
|
||||||
|
command = "resize set 0 0";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
criteria = { title = "Firefox — Sharing Indicator"; };
|
||||||
|
command = "move absolute position 10 10";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.firefox-wayland;
|
package = pkgs.firefox-wayland;
|
||||||
@ -84,7 +105,6 @@ in {
|
|||||||
"toolkit.telemetry.unified" = false;
|
"toolkit.telemetry.unified" = false;
|
||||||
"toolkit.telemetry.updatePing.enabled" = false;
|
"toolkit.telemetry.updatePing.enabled" = false;
|
||||||
|
|
||||||
|
|
||||||
"experiments.activeExperiment" = false;
|
"experiments.activeExperiment" = false;
|
||||||
"experiments.enabled" = false;
|
"experiments.enabled" = false;
|
||||||
"experiments.supported" = false;
|
"experiments.supported" = false;
|
||||||
|
@ -89,14 +89,6 @@ in {
|
|||||||
command = "sticky enable";
|
command = "sticky enable";
|
||||||
criteria = { floating = ""; };
|
criteria = { floating = ""; };
|
||||||
}
|
}
|
||||||
{
|
|
||||||
criteria = { title = "Firefox — Sharing Indicator"; };
|
|
||||||
command = "floating enable";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
criteria = { title = "Firefox — Sharing Indicator"; };
|
|
||||||
command = "no_focus";
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
startup = (map (command: { inherit command; }) config.startupApplications)
|
startup = (map (command: { inherit command; }) config.startupApplications)
|
||||||
|
Loading…
Reference in New Issue
Block a user