From 5ab6ef10372922478d4a22df03ff1d498ac35802 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Fri, 5 Feb 2021 15:49:22 -0700 Subject: [PATCH] Added valentines theme; various color updates added --- .gitignore | 2 + config/colorschemes/kitty/WrynValentines.conf | 21 ++++++++ .../linux_console/WrynValentines.sh | 52 +++++++++++++++++++ config/git/gitconfig | 4 ++ config/kitty/theme.conf | 2 +- config/ripgrep/config | 1 + setup | 6 +++ zsh/utility | 4 ++ 8 files changed, 91 insertions(+), 1 deletion(-) create mode 100644 config/colorschemes/kitty/WrynValentines.conf create mode 100644 config/colorschemes/linux_console/WrynValentines.sh create mode 100644 config/ripgrep/config diff --git a/.gitignore b/.gitignore index 0023878..9d8cb63 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ latex/*.aux latex/*.log latex/*.pdf +latex/*.out resume/*.aux resume/*.log resume/*.pdf +resume/*.out diff --git a/config/colorschemes/kitty/WrynValentines.conf b/config/colorschemes/kitty/WrynValentines.conf new file mode 100644 index 0000000..4e03a64 --- /dev/null +++ b/config/colorschemes/kitty/WrynValentines.conf @@ -0,0 +1,21 @@ +background #150015 +foreground #e3dfd2 +cursor #ffdddd +selection_background #ff00aa +color0 #460020 +color8 #900045 +color1 #db133f +color9 #df5472 +color2 #dc39dc +color10 #ed7bee +color3 #7918f4 +color11 #7d72fe +color4 #951255 +color12 #e75ba2 +color5 #7d1295 +color13 #934ba3 +color6 #f1195a +color14 #e75c84 +color7 #deb88d +color15 #fee3cd +selection_foreground #ffffff diff --git a/config/colorschemes/linux_console/WrynValentines.sh b/config/colorschemes/linux_console/WrynValentines.sh new file mode 100644 index 0000000..0f94030 --- /dev/null +++ b/config/colorschemes/linux_console/WrynValentines.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +############################## + +foreground='E3DFD2' +background='150015' + +red='DB133F' +brightred='DF5472' + +green='DC39DC' +brightgreen='ED7BEE' + +yellow='7918F4' +brightyellow='7D72FE' + +blue='951255' +brightblue='E75BA2' + +magenta='7D1295' +brightmagenta='934BA3' + +cyan='DEB88D' +brightcyan='FEE3CD' + +gray='460020' +brightgray='900045' + +############################## + + +if [ "$TERM" = "linux" ]; then + /bin/echo -e " + \e]P0$background + \e]P1$red + \e]P2$green + \e]P3$yellow + \e]P4$blue + \e]P5$magenta + \e]P6$cyan + \e]P7$foreground + \e]P8$brightred + \e]P9$brightgreen + \e]PA$brightyellow + \e]PB$brightblue + \e]PC$brightmagenta + \e]PD$brightcyan + \e]PE$gray + \e]PF$brightgray + " + clear; +fi diff --git a/config/git/gitconfig b/config/git/gitconfig index ccc13d5..162a1c8 100644 --- a/config/git/gitconfig +++ b/config/git/gitconfig @@ -13,3 +13,7 @@ [pull] default = current rebase = true +[color] + diff = always + status = always + branch = always diff --git a/config/kitty/theme.conf b/config/kitty/theme.conf index 53813e9..cf2a603 120000 --- a/config/kitty/theme.conf +++ b/config/kitty/theme.conf @@ -1 +1 @@ -/home/w0ryn/.wryn/config/colorschemes/kitty/WrynChristmas.conf \ No newline at end of file +/home/w0ryn/.wryn/config/colorschemes/kitty/WrynValentines.conf \ No newline at end of file diff --git a/config/ripgrep/config b/config/ripgrep/config new file mode 100644 index 0000000..f492327 --- /dev/null +++ b/config/ripgrep/config @@ -0,0 +1 @@ +--color=always diff --git a/setup b/setup index c799229..9849eef 100755 --- a/setup +++ b/setup @@ -141,6 +141,11 @@ function CONFIG__PYLINT() { echo "linked pylint configuration" } +function CONFIG__RIPGREP() { + CONFIG__SYMLINK "ripgrep" "config" + echo "linked ripgrep configuration" +} + function CONFIG__TMUX() { CONFIG__BASIC_SYMLINK "$HOME/.tmux.conf" "$HOME/.wryn/tmux/tmux.conf"; echo "linked tmux configuration" @@ -159,6 +164,7 @@ function CONFIG__TERMINFO() { } + function CONFIG__SETUP() { CONFIG__I3; CONFIG__PGCLI; diff --git a/zsh/utility b/zsh/utility index c6972c5..2b216a7 100644 --- a/zsh/utility +++ b/zsh/utility @@ -7,6 +7,8 @@ alias pd='pushd'; alias qd='popd'; alias lspd='dirs'; +alias bp='clear; bpython'; + alias pdo='pwd | xclip'; # [p]aste current [d]irectory [o]n clipboard alias cdo='cd $(xclip -o)'; # [cd] to directory [o]n clipboard @@ -36,6 +38,8 @@ OPEN_CURRENT_GIT_REPOSITORY_IN_WEB_BROWSER() { # --- Miscellaneous ------------------------------------------- +export RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"; + alias erg='EDIT_RIP_GREP_FILE_MATCHES'; EDIT_RIP_GREP_FILE_MATCHES() { [ $EDITOR = "vim" ] \