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
window.commands = [
{ 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.followMouse = true;
focus.mouseWarping = true;