From 7bbbcdca5536bfacf8024e1397e0b397eb908abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Fri, 28 Feb 2020 01:29:19 +0100 Subject: [PATCH] Revert "Move powerlevel9K variables to sessionVariables" This reverts commit 2f63b45dae20b46ee8fbed3c5321c4265c15d4b1. --- config/xsession/zsh/zsh.nix | 43 +++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/config/xsession/zsh/zsh.nix b/config/xsession/zsh/zsh.nix index b7eb735..15d0b0b 100644 --- a/config/xsession/zsh/zsh.nix +++ b/config/xsession/zsh/zsh.nix @@ -18,28 +18,29 @@ ]; theme = "powerlevel9k/powerlevel9k"; }; - sessionVariables = { - POWERLEVEL9K_MODE = "nerdfont-complete"; - POWERLEVEL9K_LEFT_PROMPT_ELEMENTS = "(os_icon context dir newline vcs)"; - POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS = "(status time)"; - - POWERLEVEL9K_OS_ICON_BACKGROUND = "white"; - POWERLEVEL9K_OS_ICON_FOREGROUND = "blue"; - POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND = "green"; - POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND = "white"; - POWERLEVEL9K_CONTEXT_SUDO_BACKGROUND = "red"; - POWERLEVEL9K_CONTEXT_SUDO_FOREGROUND = "white"; - POWERLEVEL9K_DIR_HOME_FOREGROUND = "white"; - POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND = "white"; - POWERLEVEL9K_DIR_DEFAULT_FOREGROUND = "white"; - - POWERLEVEL9K_SHORTEN_DIR_LENGTH = 2; - POWERLEVEL9K_SHORTEN_DELIMITER = ".."; - - POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX = "↱"; - POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX = "↳"; - }; initExtra = '' + POWERLEVEL9K_MODE='nerdfont-complete' + + POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon context dir newline vcs) + POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status time) + + POWERLEVEL9K_OS_ICON_BACKGROUND="white" + POWERLEVEL9K_OS_ICON_FOREGROUND="blue" + + POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND="green" + POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND="white" + POWERLEVEL9K_CONTEXT_SUDO_BACKGROUND="red" + POWERLEVEL9K_CONTEXT_SUDO_FOREGROUND="white" + + POWERLEVEL9K_DIR_HOME_FOREGROUND="white" + POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="white" + POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white" + POWERLEVEL9K_SHORTEN_DIR_LENGTH=2 + POWERLEVEL9K_SHORTEN_DELIMITER=".." + + POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="↱" + POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="↳" + export MATRIXDEV_HOMESERVER="https://matrix.dodsorf.as" export ***REMOVED***