docs: update documentation for automated package updates workflow
This commit is contained in:
@@ -29,7 +29,8 @@ with lib; let
|
||||
mapAttrs (name: value: {
|
||||
path = value.path;
|
||||
args = value.args;
|
||||
}) cfg.projectDirs
|
||||
})
|
||||
cfg.projectDirs
|
||||
);
|
||||
in {
|
||||
options.cli.rofi-project-opener = {
|
||||
@@ -38,8 +39,8 @@ in {
|
||||
projectDirs = mkOption {
|
||||
type = types.attrsOf projectDirType;
|
||||
default = {
|
||||
dev = { path = "~/dev"; };
|
||||
projects = { path = "~/projects"; };
|
||||
dev = {path = "~/dev";};
|
||||
projects = {path = "~/projects";};
|
||||
};
|
||||
description = ''
|
||||
Attribute set of base directories to scan for project subdirectories.
|
||||
@@ -120,7 +121,11 @@ in {
|
||||
# Write shell config file for other settings
|
||||
xdg.configFile."rofi-project-opener/config".text = ''
|
||||
# rofi-project-opener configuration
|
||||
TERMINAL="${if isDerivation cfg.terminal then "${cfg.terminal}/bin/${cfg.terminal.pname or (builtins.baseNameOf (toString cfg.terminal))}" else cfg.terminal}"
|
||||
TERMINAL="${
|
||||
if isDerivation cfg.terminal
|
||||
then "${cfg.terminal}/bin/${cfg.terminal.pname or (builtins.baseNameOf (toString cfg.terminal))}"
|
||||
else cfg.terminal
|
||||
}"
|
||||
${optionalString (cfg.terminalCommand != "") ''TERMINAL_CMD="${cfg.terminalCommand}"''}
|
||||
ROFI_PROMPT="${cfg.rofiPrompt}"
|
||||
ROFI_ARGS="${escapeShellArgs cfg.rofiArgs}"
|
||||
|
||||
Reference in New Issue
Block a user