mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
bemenu: migrate to lib.cli.toCommandLineShellGNU
Migrates from the deprecated toCommandLineShell to toCommandLineShellGNU. This changes the output format to use GNU-style concatenated options (--line-height=28) and adds shell escaping for values with special characters (e.g., '#1e1e2e' becomes '--ab=#1e1e2e'). The format was verified to work correctly with bemenu. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ in
|
||||
home.packages = lib.mkIf (cfg.package != null) [ cfg.package ];
|
||||
|
||||
home.sessionVariables = lib.mkIf (cfg.settings != { }) {
|
||||
BEMENU_OPTS = lib.cli.toGNUCommandLineShell { } cfg.settings;
|
||||
BEMENU_OPTS = lib.cli.toCommandLineShellGNU { } cfg.settings;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user