Sumner Evans
9ffb206050
i3, sway: replace fonts with submodule ( #1950 )
...
This applies to both the root-level and the bar configs.
Closes #1937 .
2021-05-03 21:54:35 -06:00
Sumner Evans
5c5d562266
sway: add config.seat
...
Added seat configuration to sway config. Also improved the way that the
configuration is generated to reduce superfluous whitespace.
Supersedes #1663
2021-04-11 22:11:22 +02:00
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
Robert Helgesson
7b6ebf2785
Revert "sway: validate configuration at build time"
...
This reverts commit 99b75f99df
. See
https://github.com/nix-community/home-manager/issues/1613 and
https://github.com/nix-community/home-manager/pull/1614
for associated discussions.
2020-11-17 18:45:23 +01:00
Nicolas Berbiche
99b75f99df
sway: validate configuration at build time
...
PR #1579
2020-11-16 23:51:34 +01:00
Robert Helgesson
4f20ee61c2
sway: restore use of pkgs.sway
...
Using the final package in the `onChange` block broke some use cases.
This restores the old behavior and instead solves the test
dependencies in a different way.
Fixes #1611
This reverts commit 7c3c64208e
.
2020-11-16 22:35:07 +01:00
Robert Helgesson
cde1d33e61
sway: remove test dependency on xwayland
2020-11-14 23:49:34 +01:00
Alex Rice
0869e23700
sway: set bar defaults to null
...
Allows fields of bar to be nullable and omit them from the generated
configuration if unset.
Fixes #1361
PR #1386
2020-08-26 00:05:05 +02:00
Alex Rice
625b92cbba
sway: add default test
2020-08-25 23:58:43 +02:00
Cole Mickens
5c639ff68a
sway: focus.followMouse supports yes/no/always
...
Also add associated tests for both Sway and i3.
PR #1231
2020-07-17 15:35:00 +02:00