personal-gui: Fixes for windows in sway

This commit is contained in:
traxys 2023-05-26 13:48:06 +02:00
parent 6d0398223c
commit f4e1ed03b9

View file

@ -36,6 +36,7 @@ in {
MOZ_ENABLE_WAYLAND = "1";
XDG_CURRENT_DESKTOP = "sway";
LIBSEAT_BACKEND = "logind";
_JAVA_AWT_WM_NONREPARENTING = 1;
};
programs.rofi.package = pkgs.rofi-wayland;
@ -166,6 +167,16 @@ in {
fonts = common.mkFont cfg.font;
window = {
titlebar = true;
commands = [
{
criteria.class = "davmail-DavGateway";
command = "floating enable";
}
{
criteria.window_type = "menu";
command = "floating enable";
}
];
};
keybindings = common.keybindings;
workspaceOutputAssign = common.workspaceOutputAssign;