mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
The `herbstclient` alias in the generated `autostart` made it impossible to use bash functions. This makes the `herbstclient` alias optional by adding an extra `herbstclientAlias` option on the herbstluftwm configuration. The new option defaults to `false` as to not confuse newcomers to the herbstluftwm module, which is not a breaking change because it was only an optimization.
13 lines
448 B
Nix
13 lines
448 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
time = "2025-12-12T19:20:28+00:00";
|
|
condition = config.xsession.windowManager.herbstluftwm.enable;
|
|
message = ''
|
|
It is now possible to disable the `herbstclient` alias in the autostart
|
|
script by setting `xsession.windowManagers.herbsluftwm.enableAlias = false`.
|
|
This makes it possible to use the `herbstclient` command in bash functions,
|
|
though may cause flickering while the autostart script runs.
|
|
'';
|
|
}
|