steeef

July 18, 2024 · View on GitHub

A customizable version of steeef's theme, and this theme is modified based on steef zimfw theme.

I made the modification to display the apple icon , and also some customized settings, please see below screenshot ...

What does it show?

  • NEW: An apple icon 
  • "user at hostname in working directory"
  • Git branch name, or commit short hash when in 'detached HEAD' state. Also, unindexed, indexed, and untracked indicators, and an optional stashed indicator (must be customized, see below).
  • Python venv indicator.

Settings

All of the setting can be customized by yourself.

This theme can be customized with the following environment variables. If the variable is not defined, the respective default value is used. There are default colors for 256-color terminals (or otherwise).

VariableDescriptionDefault value
USER_COLORUser name color34 (or green)
HOST_COLORHost name color166 (or yellow)
PWD_COLORWorking directory color30 (or green)
BRANCH_COLORGit branch name color81 (or cyan)
UNINDEXED_COLORGit unindexed color166 (or yellow)
UNINDEXED_INDGit unindexed indicator
INDEXED_COLORGit indexed color118 (or green)
INDEXED_INDGit indexed indicator
UNTRACKED_COLORGit untracked color161 (or red)
UNTRACKED_INDGit untracked indicator
STASHED_COLORGit stashed color
STASHED_INDGit stashed indicator

The git stashed indicator will not be shown unless defined.

How to use?

  • Clone this repository to your zim module folder (you are expected to find other themes here):
    For me, it is ~/.zim/modules/steeef.
  • Make any customized modification as you want :wink:.

Requirements

Requires Zim's git-info module to show git information.