mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-23 00:03:54 -05:00
aly/wm: center and float bitwarden gui
This commit is contained in:
parent
c10afb3204
commit
57747566b4
|
@ -18,7 +18,7 @@
|
|||
"workspace 5: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";} {app_id = "firework";}];
|
||||
};
|
||||
|
||||
floating.criteria = [{app_id = "org.keepassxc.KeePassXC";}];
|
||||
floating.criteria = [{app_id = "Bitwarden";} {app_id = "org.keepassxc.KeePassXC";}];
|
||||
|
||||
keybindings = {
|
||||
"${config.wayland.windowManager.sway.config.modifier}+P" = "exec ${lib.getExe pkgs.rofi-rbw-wayland}";
|
||||
|
@ -39,7 +39,11 @@
|
|||
|
||||
window.commands = [
|
||||
{
|
||||
command = "resize set 80ppt 80ppt; move position center; sticky toggle; ";
|
||||
command = "resize set 80ppt 80ppt; move position center;";
|
||||
criteria = {app_id = "Bitwarden";};
|
||||
}
|
||||
{
|
||||
command = "resize set 80ppt 80ppt; move position center; sticky toggle;";
|
||||
criteria = {app_id = "org.keepassxc.KeePassXC";};
|
||||
}
|
||||
];
|
||||
|
@ -55,8 +59,11 @@
|
|||
input.kb_options = "ctrl:nocaps";
|
||||
|
||||
windowrulev2 = [
|
||||
"center(1),class:(Bitwarden)"
|
||||
"center(1),class:(org.keepassxc.KeePassXC)"
|
||||
"float,class:(Bitwarden)"
|
||||
"float,class:(org.keepassxc.KeePassXC)"
|
||||
"size 80% 80%,class:(Bitwarden)"
|
||||
"size 80% 80%,class:(org.keepassxc.KeePassXC)"
|
||||
"workspace 1,class:(brave-browser)"
|
||||
"workspace 1,class:(firefox)"
|
||||
|
|
Loading…
Reference in a new issue