diff options
author | Alex Rice <alexrice999@hotmail.co.uk> | 2020-07-13 12:31:55 +0100 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2020-08-26 00:05:05 +0200 |
commit | 0869e237007aa48f458c9d9ba9080280565a7160 (patch) | |
tree | ba335b0301fc5f9f8b0620295d97c73d0154abdf /doc/release-notes | |
parent | 625b92cbba26852d80eb9a221f93cad0c4efa17b (diff) |
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
Diffstat (limited to 'doc/release-notes')
-rw-r--r-- | doc/release-notes/rl-2009.adoc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/release-notes/rl-2009.adoc b/doc/release-notes/rl-2009.adoc index 7740646a961..c1939ab5af9 100644 --- a/doc/release-notes/rl-2009.adoc +++ b/doc/release-notes/rl-2009.adoc @@ -52,3 +52,46 @@ will automatically include these options, when necessary. _module.args.pkgsPath = <nixpkgs>; + to your Home Manager configuration. + +* The options `wayland.windowManager.sway.config.bars` and `opt-xsession.windowManager.i3.config.bars` have been changed so that most of the suboptions are now nullable and default to `null`. The default for these two options has been changed to manually set the old defaults for each suboption. The overall effect is that if the `bars` options is not set, then the default remains the same. On the other hand, something like: ++ +-- +[source,nix] +---- +bars = [ { + command = "waybar"; +} ]; +---- +will now create the config: +.... +bar { + swaybar_command waybar +} +.... +instead of +.... +bar { + + font pango:monospace 8 + mode dock + hidden_state hide + position bottom + status_command /nix/store/h7s6i9q1z5fxrlyyw5ls8vqxhf5bcs5a-i3status-2.13/bin/i3status + swaybar_command waybar + workspace_buttons yes + strip_workspace_numbers no + tray_output primary + colors { + background #000000 + statusline #ffffff + separator #666666 + focused_workspace #4c7899 #285577 #ffffff + active_workspace #333333 #5f676a #ffffff + inactive_workspace #333333 #222222 #888888 + urgent_workspace #2f343a #900000 #ffffff + binding_mode #2f343a #900000 #ffffff + } + +} +.... +-- |