1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-18 09:09:45 +01:00
home-manager/modules/services/window-managers/i3-sway/lib
Nicolas Berbiche d62bdaf938
sway: fix error with null package and swaybar
When setting `...sway.package = null`, the default bar configuration
would throw an error trying to use the bar from the null package.

Logic is added to use the bar from `pkgs.sway` instead of `cfg.package`
if it is null.

Fixes #1714
2021-01-11 12:26:18 -05:00
..
functions.nix sway: set bar defaults to null 2020-08-26 00:05:05 +02:00
options.nix sway: fix error with null package and swaybar 2021-01-11 12:26:18 -05:00