zsh: only change theme if darkman is available
This commit is contained in:
parent
3ec5ea5728
commit
99a78a8a64
1 changed files with 7 additions and 4 deletions
|
@ -91,12 +91,15 @@ let
|
||||||
darkmode
|
darkmode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if type darkman >/dev/null
|
||||||
|
then
|
||||||
if [ "$(darkman get)" = "dark" ]
|
if [ "$(darkman get)" = "dark" ]
|
||||||
then
|
then
|
||||||
darkmode
|
darkmode
|
||||||
else
|
else
|
||||||
lightmode
|
lightmode
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
sessionVariables = { DEFAULT_USER = "charlotte"; };
|
sessionVariables = { DEFAULT_USER = "charlotte"; };
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue