Skip to content

Commit

Permalink
Merge pull request #2050 from gaelicWizard/theme/powerline.base
Browse files Browse the repository at this point in the history
  • Loading branch information
seefood authored Jan 12, 2025
2 parents bbbf62a + 9af31f6 commit bf402f6
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 181 deletions.
1 change: 1 addition & 0 deletions clean_files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ themes/easy
themes/elixr
themes/essential
themes/githelpers.theme.bash
themes/gitline
themes/inretio
themes/lambda
themes/modern
Expand Down
14 changes: 8 additions & 6 deletions themes/gitline/gitline.theme.bash
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash

. "$BASH_IT/themes/gitline/powerline.base.bash"
# shellcheck shell=bash
# shellcheck disable=SC2034 # Expected behavior for themes.
# shellcheck source-path=SCRIPTDIR/../gitline
source "${BASH_IT?}/themes/gitline/powerline.base.bash"

#For the logo(Uncomment if you want a logo before your name)
#PROMPT_DISTRO_LOGO="💻"
Expand All @@ -9,7 +10,7 @@ PROMPT_DISTRO_LOGO_COLORBG=52

#Prompt Seperator Charactors
PROMPT_CHAR=${POWERLINE_PROMPT_CHAR:=""}
POWERLINE_LEFT_SEPARATOR=${POWERLINE_LEFT_SEPARATOR:=""}
: "${POWERLINE_LEFT_SEPARATOR:=""}"

#USER INFO CHARACTERS
USER_INFO_SSH_CHAR=${POWERLINE_USER_INFO_SSH_CHAR:=""}
Expand Down Expand Up @@ -54,18 +55,19 @@ LAST_STATUS_THEME_PROMPT_COLOR=52
CLOCK_THEME_PROMPT_COLOR=240

#For Battery Plugin
BATTERY_AC_CHAR=${BATTERY_AC_CHAR:=""}
: "${BATTERY_AC_CHAR:=""}"
BATTERY_STATUS_THEME_PROMPT_GOOD_COLOR=70
BATTERY_STATUS_THEME_PROMPT_LOW_COLOR=208
BATTERY_STATUS_THEME_PROMPT_CRITICAL_COLOR=160

THEME_CLOCK_FORMAT=${THEME_CLOCK_FORMAT:="%H:%M:%S"}
: "${THEME_CLOCK_FORMAT:="%H:%M:%S"}"

IN_VIM_THEME_PROMPT_COLOR=245
IN_VIM_THEME_PROMPT_TEXT="vim"

IN_TOOLBOX_THEME_PROMPT_COLOR=125
IN_TOOLBOX_THEME_PROMPT_TEXT=""

: "${POWERLINE_PROMPT:="user_info scm python_venv ruby node cwd"}"

safe_append_prompt_command __powerline_prompt_command
Loading

0 comments on commit bf402f6

Please sign in to comment.