Let bitwarden be floating

This commit is contained in:
Natsu Kagami 2024-01-20 12:45:59 +01:00
parent 08792154ed
commit bc0cea6575
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -305,9 +305,18 @@ in
# Commands # Commands
window.commands = [ window.commands = [
{ criteria = { title = ".*"; }; command = "inhibit_idle fullscreen"; } { criteria = { title = ".*"; }; command = "inhibit_idle fullscreen"; }
{ criteria = { app_id = ".*float.*"; }; command = "floating enable"; } ] ++ (
{ criteria = { class = ".*float.*"; }; command = "floating enable"; } # Floating assignments
let
criterias = [
{ app_id = ".*float.*"; }
{ class = ".*float.*"; }
{ title = "Extension: .*Bitwarden.*"; }
]; ];
toCommand = criteria: { inherit criteria; command = "floating enable"; };
in
map toCommand criterias
);
# Focus # Focus
focus.followMouse = true; focus.followMouse = true;
focus.mouseWarping = true; focus.mouseWarping = true;