Skip to content

Commit

Permalink
feat: Go all in with Dracula
Browse files Browse the repository at this point in the history
Add Dracula themes for fish, vim, git, iTerm2, Starship, and Slack.
  • Loading branch information
mbd-s committed May 25, 2023
1 parent 5812c3f commit 7f2d027
Show file tree
Hide file tree
Showing 7 changed files with 457 additions and 38 deletions.
16 changes: 13 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: asdf brew chip-support fisher fonts help link overwrite setup setup-force unlink vs-code
.PHONY: asdf brew chip-support dracula fisher fonts help link overwrite setup setup-force unlink vs-code

asdf: ## Adds asdf plugins and installs the latest versions of them. Usage: `make asdf`.
$(info Installing asdf plugins...)
Expand Down Expand Up @@ -35,6 +35,16 @@ else
@echo "No extra dependencies needed for this architecture"
endif

dracula: ## Installs Dracula theme. Usage: `make dracula`.
$(info Installing Dracula theme for vim and fish)
@mkdir -p ~/.vim/pack/themes/start && \
git clone https://github.com/dracula/vim.git ~/.vim/pack/themes/start/dracula
@mkdir -p /tmp/dracula && \
curl -sSL https://github.com/dracula/fish/archive/master.zip -o /tmp/dracula/fish.zip
@unzip /tmp/dracula/fish.zip -d /tmp/dracula > /dev/null
@mv /tmp/dracula/fish-master/themes/Dracula\ Official.theme ~/.config/fish/themes
@rm -rf /tmp/dracula

fisher:
$(info Installing fisher...)
@fish -c "curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher"
Expand Down Expand Up @@ -95,9 +105,9 @@ overwrite: ## Symlinks config files, replacing any existing files. Usage: `make
@ln -sfnv $(PWD)/tmux/.tmux.conf ~/.tmux.conf
@ln -sfnv $(PWD)/dig/.digrc ~/.digrc

setup: | link fisher chip-support brew vs-code asdf fonts ## Symlinks config files and installs Homebrew packages and asdf plugins. Usage: `make setup`.
setup: | link fisher chip-support dracula brew vs-code asdf fonts ## Symlinks config files and installs Homebrew packages and asdf plugins. Usage: `make setup`.

setup-force: | overwrite fisher chip-support brew vs-code-overwrite asdf fonts ## Overwrites existing config files and installs Homebrew packages and asdf plugins. Usage: `make setup-force`.
setup-force: | overwrite fisher chip-support dracula brew vs-code-overwrite asdf fonts ## Overwrites existing config files and installs Homebrew packages and asdf plugins. Usage: `make setup-force`.

unlink: ## Removes all symlinked config files. Usage: `make unlink`.
$(info Unlinking symlinked config files)
Expand Down
2 changes: 1 addition & 1 deletion fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ end
set fish_function_path $fish_function_path $__fish_config_dir/custom_functions

# Set dracula color scheme
set -g theme_color_scheme dracula
fish_config theme choose "Dracula Official"

# Disable fish_greeting
set fish_greeting
Expand Down
51 changes: 38 additions & 13 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,48 @@
sw = switch
[color]
ui = auto
[color "branch"]
current = cyan bold reverse
local = white
plain =
remote = cyan
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
meta = magenta
frag = cyan bold reverse
func = cyan
commit = yellow
old = red
new = green
whitespace = magenta reverse
plain =
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
oldNormal =
oldHighlight = bold
newNormal =
newHighlight = bold
[color "grep"]
context =
filename =
function =
linenumber = white
match =
selected =
separator =
[color "interactive"]
error =
header =
help =
prompt =
[color "status"]
added = green
changed = "#DC143C"
untracked = "#DC143C"
changed = yellow
untracked = red
header =
localBranch =
nobranch =
remoteBranch = cyan bold
unmerged = magenta bold reverse
updated = green bold
[diff-so-fancy]
stripLeadingSymbols = true
[fetch]
Expand Down
Loading

0 comments on commit 7f2d027

Please sign in to comment.