Skip to content

Commit

Permalink
sway: use floating windows for KiCad on laptops
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Aug 26, 2024
1 parent 2f5f21d commit 18f62a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions configurations/akane/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ in
];

programs.bottom.settings.flags.battery = true;

# Work around issues with multiple KiCad windows on a single small monitor
wayland.windowManager.sway.config.floating.criteria = [{class = "KiCad";}];
})
];
}
3 changes: 3 additions & 0 deletions configurations/hina/home-manager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ in
];

programs.bottom.settings.flags.battery = true;

# Work around issues with multiple KiCad windows on a single small monitor
wayland.windowManager.sway.config.floating.criteria = [{class = "KiCad";}];
})
];
}
4 changes: 0 additions & 4 deletions modules/home-manager/desktop_environment/components/sway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,6 @@
instance = "qjackctl";
title = "JACK Audio Connection Kit*";
}
{
app_id = "firefox";
title = "Firefox — Sharing Indicator";
}
];

input = {
Expand Down

0 comments on commit 18f62a5

Please sign in to comment.