From 2e9fc5f476799a39df091947c996f1f3b831ea90 Mon Sep 17 00:00:00 2001 From: "kujiu (@uberwald)" Date: Mon, 11 Sep 2023 03:18:29 +0200 Subject: [PATCH] Tig colorscheme --- README.rst | 3 + common/.config/fish/functions/aerc.fish | 6 ++ common/.config/fish/functions/newsboat.fish | 6 ++ common/.config/fish/functions/pms.fish | 6 ++ common/.config/fish/functions/poezio.fish | 6 ++ common/.config/fish/functions/tig.fish | 6 ++ common/.config/tig/config | 93 +++++++++++++++++++++ desktop/.config/tmuxinator/chat.yml | 8 +- 8 files changed, 130 insertions(+), 4 deletions(-) create mode 100755 common/.config/fish/functions/aerc.fish create mode 100755 common/.config/fish/functions/newsboat.fish create mode 100755 common/.config/fish/functions/pms.fish create mode 100755 common/.config/fish/functions/poezio.fish create mode 100755 common/.config/fish/functions/tig.fish create mode 100644 common/.config/tig/config diff --git a/README.rst b/README.rst index 5cceb74..e72c6e4 100644 --- a/README.rst +++ b/README.rst @@ -22,6 +22,8 @@ Some configurations for these tools: - elinks and browsh - tmux and tmuxinator - pms +- lazygit and tig (git) +- lazydocker You need to install: @@ -54,6 +56,7 @@ You need to install: - python3-pygments - rbenv - scdoc (debian only) +- tig - tmux - tmuxinator - toot diff --git a/common/.config/fish/functions/aerc.fish b/common/.config/fish/functions/aerc.fish new file mode 100755 index 0000000..61dc0be --- /dev/null +++ b/common/.config/fish/functions/aerc.fish @@ -0,0 +1,6 @@ +#!/usr/bin/env fish +# + +function aerc -d "aerc mail client" + TERM=xterm-direct command aerc $argv +end diff --git a/common/.config/fish/functions/newsboat.fish b/common/.config/fish/functions/newsboat.fish new file mode 100755 index 0000000..5244784 --- /dev/null +++ b/common/.config/fish/functions/newsboat.fish @@ -0,0 +1,6 @@ +#!/usr/bin/env fish +# + +function newsboat -d "Newsboat RSS Reader" + TERM=xterm-256color command newsboat $argv +end diff --git a/common/.config/fish/functions/pms.fish b/common/.config/fish/functions/pms.fish new file mode 100755 index 0000000..e4c1716 --- /dev/null +++ b/common/.config/fish/functions/pms.fish @@ -0,0 +1,6 @@ +#!/usr/bin/env fish +# + +function pms -d "PMS music player" + TERM=xterm-direct command pms $argv +end diff --git a/common/.config/fish/functions/poezio.fish b/common/.config/fish/functions/poezio.fish new file mode 100755 index 0000000..64584a4 --- /dev/null +++ b/common/.config/fish/functions/poezio.fish @@ -0,0 +1,6 @@ +#!/usr/bin/env fish +# + +function poezio -d "Poezio XMPP client" + TERM=xterm-256color command poezio $argv +end diff --git a/common/.config/fish/functions/tig.fish b/common/.config/fish/functions/tig.fish new file mode 100755 index 0000000..e7b1379 --- /dev/null +++ b/common/.config/fish/functions/tig.fish @@ -0,0 +1,6 @@ +#!/usr/bin/env fish +# + +function tig -d "Tig git client" + TERM=xterm-256color command tig $argv +end diff --git a/common/.config/tig/config b/common/.config/tig/config new file mode 100644 index 0000000..c80e6f9 --- /dev/null +++ b/common/.config/tig/config @@ -0,0 +1,93 @@ +# tig colors based on Nightfox theme +# author: kujiu +# author of palette: EdenEast +# Palette URL: https://github.com/EdenEast/nightfox.nvim + +color default color188 default +color cursor color16 color39 +color status color188 color17 +color title-focus color145 color59 +color title-blur color145 color17 +color search-result color16 color108 +color delimiter color59 color17 +color header color215 default bold +color status.header color215 default bold +color line-number color67 default +color id color108 default +color date color39 default +color author color80 default +color mode color215 default +color overflow color16 color215 +color directory color39 default +color file color188 default +color file-size color102 default + +color graph-commit color39 default +color palette0 color39 default +color palette1 color140 default +color palette2 color108 default +color palette3 color180 default +color palette4 color215 default +color palette5 color167 default +color palette6 color176 default +color palette7 color80 default +color palette8 color188 default +color palette9 color102 default +color palette10 color145 default +color palette11 color67 default +color palette12 color39 default bold +color palette13 color108 default bold +color main-commit color108 default +color main-annotated color102 default +color main-head color215 default +color main-remote color180 default +color main-tracked color39 default +color main-tag color108 default +color main-local-tag color39 default +color main-ref color215 default +color main-replace color167 default + +color stat-none color188 default +color stat-staged color108 default +color stat-unstaged color39 default +color stat-untracked color39 default + +color help-group color39 default bold +color help.section color80 default bold +color help-action color145 default +color help.default color180 default +color help.header color215 default bold + +# Diff colors +color diff-header color16 color145 +color diff-index color80 default bold +color "diff-tree " color39 default +color diff-chunk color140 default bold +color diff-oldmode color167 default +color diff-newmode color108 default +color "copy-from " color39 default +color "copy-to " color108 default +color "rename-from " color39 default +color "rename-to " color108 default +color diff-similarity color180 default +color "dissimilarity " color180 default +color diff-add color108 default +color diff-del color167 default +color diff-add-highlight color180 default +color diff-del-highlight color215 default +color diff-add-file color108 default bold +color diff-del-file color167 default bold +color diff-stat color102 default + +color "Reported-by: " color140 default +color "Author: " color80 default +color "Commit: " color180 default +color "CommitDate: " color39 default +color "AuthorDate: " color39 default +color "Date: " color39 default +color "commit " color108 default bold +color "Refs: " color215 default + +# View-specific color + +color tree.date color39 default diff --git a/desktop/.config/tmuxinator/chat.yml b/desktop/.config/tmuxinator/chat.yml index c20a24d..c9e028c 100644 --- a/desktop/.config/tmuxinator/chat.yml +++ b/desktop/.config/tmuxinator/chat.yml @@ -1,11 +1,11 @@ name: chat windows: - - news: TERM=tmux-256color newsboat - - xmpp: TERM=tmux-256color poezio - - mail1: TERM=xterm-direct aerc + - news: newsboat + - xmpp: poezio + - mail1: aerc - mail2: neomutt - toot: toot tui - cal: ikhal - - music: TERM=xterm-direct pms + - music: pms - other: