-
-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added git.sh file * added instrucctions to README.md * instruccions typo corrections * Customize git module and instrucctions * Correction for Shellcheck / Shellcheck (pull_request) test. added escape caracters \ in n git.sh script * Rename the module to gitmux * README.md corrections * README.md typo corrections
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Requires https://github.com/arl/gitmux | ||
|
||
show_gitmux() { | ||
local index icon color text module | ||
|
||
index=$1 | ||
icon="$(get_tmux_option "@catppuccin_gitmux_icon" "")" | ||
color="$(get_tmux_option "@catppuccin_gitmux_color" "$thm_green")" | ||
text="$(get_tmux_option "@catppuccin_gitmux_text" "#(gitmux \"#{pane_current_path}\")")" | ||
|
||
module=$( build_status_module "$index" "$icon" "$color" "$text" ) | ||
|
||
echo "$module" | ||
} |