overhaul for pi4
This commit is contained in:
@@ -32,10 +32,12 @@
|
||||
share = true;
|
||||
};
|
||||
|
||||
initContent = lib.mkBefore ''
|
||||
initContent = if config.homeconfig.wal.enable then (lib.mkBefore ''
|
||||
cat ${config.home.homeDirectory}/.cache/wal/sequences
|
||||
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)"
|
||||
'';
|
||||
'') else (lib.mkBefore ''
|
||||
eval "$(oh-my-posh init zsh --config ${config.home.homeDirectory}/.config/zsh/ohmyposh.toml)"
|
||||
'');
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user