diff --git a/dotfiles/.Xresources b/dotfiles/.Xresources new file mode 100644 index 00000000..27faaf76 --- /dev/null +++ b/dotfiles/.Xresources @@ -0,0 +1,36 @@ + +! general +*background: rgb:16/19/25 +*foreground: rgb:aa/ae/b8 + +! blacks +*color0: rgb:47/4b/56 +*color8: rgb:60/64/6f + +! reds +*color1: rgb:ed/25/4e +*color9: rgb:e5/45/68 + +! greens +*color2: rgb:71/f7/9f +*color10: rgb:81/ed/a9 + +! yellows +*color3: rgb:f9/dc/5c +*color11: rgb:ee/d8/73 + +! blues +*color4: rgb:7c/b7/ff +*color12: rgb:8a/ba/f6 + +! magentas +*color5: rgb:c7/4d/89 +*color13: rgb:c6/65/97 + +! cyans +*color6: rgb:0/c1/e4 +*color14: rgb:27/c2/e0 + +! whites +*color7: rgb:aa/ae/b8 +*color15: rgb:c3/c7/d1 diff --git a/dotfiles/.bash_profile b/dotfiles/.bash_profile index c8aabd89..4a435046 100644 --- a/dotfiles/.bash_profile +++ b/dotfiles/.bash_profile @@ -6,4 +6,8 @@ if [ -e install-terminal-theme ]; then install-terminal-theme > /dev/null fi +if [ -e dotfile-system-prune ]; then + dotfile-system-prune > /dev/null +fi + . "$HOME/.bashrc" diff --git a/dotfiles/.local/bin/dotfile-system-prune b/dotfiles/.local/bin/dotfile-system-prune new file mode 100644 index 00000000..c94049b0 --- /dev/null +++ b/dotfiles/.local/bin/dotfile-system-prune @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# Clean up macOS-specific files if they are present +if [ -d /Library ] && [ -d /System ]; then + # System is macOS +else + if [ -d ~/Library ]; then + rm -rf ~/Library + fi +fi diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf new file mode 100644 index 00000000..9d207b63 --- /dev/null +++ b/dotfiles/.tmux.conf @@ -0,0 +1,75 @@ +# +# Powerline Themer Block - Tmux Theme +# Originally created by Jim Myhrberg . +# Modified for use by Themer by Tom Selvi . +# +# Inspired by vim-powerline: https://github.com/Lokaltog/powerline +# +# Requires terminal to be using a powerline compatible font, find one here: +# https://github.com/Lokaltog/powerline-fonts +# + +# Status update interval +set -g status-interval 1 + +# Basic status bar colors +set -g status-fg "#60646f" +set -g status-bg "#2f323e" + +# Left side of status bar +set -g status-left-bg "#2f323e" +set -g status-left-fg "#9295a0" +set -g status-left-length 40 +set -g status-left "#[fg=#161925,bg=#ed254e,bold] #S #[fg=#ed254e,bg=#797c87,nobold]#[fg=#2f323e,bg=#797c87] #(whoami) #[fg=#797c87,bg=#474b56]#[fg=#797c87,bg=#474b56] #I:#P #[fg=#474b56,bg=#2f323e,nobold]" + +# Right side of status bar +set -g status-right-bg "#2f323e" +set -g status-right-fg "#9295a0" +set -g status-right-length 150 +set -g status-right "#[fg=#474b56,bg=#2f323e]#[fg=#797c87,bg=#474b56] %H:%M:%S #[fg=#797c87,bg=#474b56]#[fg=#2f323e,bg=#797c87] %d-%b-%y #[fg=#aaaeb8,bg=#797c87]#[fg=#161925,bg=#aaaeb8,bold] #H " + +# Window status +set -g window-status-format "#[fg=#c3c7d1]#[bg=#2f323e] #I:#W#F " +set -g window-status-current-format "#[fg=#dcdfe4,bg=black] #I:#W#F " + +# Current window status +set -g window-status-current-bg "#ed254e" +set -g window-status-current-fg "#161925" + +# Window with activity status +set -g window-status-activity-bg "#dcdfe4" # fg and bg are flipped here due to +set -g window-status-activity-fg "#2f323e" # a bug in tmux + +# Window separator +set -g window-status-separator "" + +# Window status alignment +set -g status-justify centre + +# Pane border +set -g pane-border-bg default +set -g pane-border-fg "#60646f" + +# Active pane border +set -g pane-active-border-bg default +set -g pane-active-border-fg "#ed254e" + +# Pane number indicator +set -g display-panes-colour "#2f323e" +set -g display-panes-active-colour "#aaaeb8" + +# Clock mode +set -g clock-mode-colour "#ed254e" +set -g clock-mode-style 24 + +# Message +set -g message-bg "#ed254e" +set -g message-fg black + +# Command message +set -g message-command-bg "#2f323e" +set -g message-command-fg black + +# Mode +set -g mode-bg "#ed254e" +set -g mode-fg "#c3c7d1" diff --git a/dotfiles/.vim/autoload/lightline/colorscheme/ThemerVimLightline.vim b/dotfiles/.vim/autoload/lightline/colorscheme/ThemerVimLightline.vim new file mode 100644 index 00000000..f6d0bb17 --- /dev/null +++ b/dotfiles/.vim/autoload/lightline/colorscheme/ThemerVimLightline.vim @@ -0,0 +1,98 @@ + + + + if &background == 'dark' + + let s:guishade0 = "#161925" + let s:guishade1 = "#2f323e" + let s:guishade2 = "#474b56" + let s:guishade3 = "#60646f" + let s:guishade4 = "#797c87" + let s:guishade5 = "#9295a0" + let s:guishade6 = "#aaaeb8" + let s:guishade7 = "#c3c7d1" + let s:guiaccent0 = "#ed254e" + let s:guiaccent1 = "#dcdfe4" + let s:guiaccent2 = "#f9dc5c" + let s:guiaccent3 = "#71f79f" + let s:guiaccent4 = "#00c1e4" + let s:guiaccent5 = "#7cb7ff" + let s:guiaccent6 = "#c3c7d1" + let s:guiaccent7 = "#c74d89" + let s:shade0 = 234 + let s:shade1 = 59 + let s:shade2 = 239 + let s:shade3 = 102 + let s:shade4 = 244 + let s:shade5 = 145 + let s:shade6 = 249 + let s:shade7 = 188 + let s:accent0 = 204 + let s:accent1 = 254 + let s:accent2 = 222 + let s:accent3 = 121 + let s:accent4 = 44 + let s:accent5 = 117 + let s:accent6 = 188 + let s:accent7 = 175 + + endif + + + + if &background == 'light' + + let s:guishade0 = "#ffffff" + let s:guishade1 = "#e5e6e7" + let s:guishade2 = "#cccdcf" + let s:guishade3 = "#b2b4b7" + let s:guishade4 = "#999ba0" + let s:guishade5 = "#7f8288" + let s:guishade6 = "#666970" + let s:guishade7 = "#4c5058" + let s:guiaccent0 = "#ff4972" + let s:guiaccent1 = "#dcdfe4" + let s:guiaccent2 = "#ffff80" + let s:guiaccent3 = "#95ffc3" + let s:guiaccent4 = "#24e5ff" + let s:guiaccent5 = "#a0dbff" + let s:guiaccent6 = "#4c5058" + let s:guiaccent7 = "#eb71ad" + let s:shade0 = 231 + let s:shade1 = 254 + let s:shade2 = 15 + let s:shade3 = 249 + let s:shade4 = 247 + let s:shade5 = 244 + let s:shade6 = 242 + let s:shade7 = 239 + let s:accent0 = 204 + let s:accent1 = 254 + let s:accent2 = 229 + let s:accent3 = 158 + let s:accent4 = 81 + let s:accent5 = 153 + let s:accent6 = 239 + let s:accent7 = 211 + + endif + + + let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} + let s:p.normal.left = [ [ s:guishade1, s:guiaccent5, s:shade1, s:accent5 ], [ s:guishade7, s:guishade2, s:shade7, s:shade2 ] ] + let s:p.normal.right = [ [ s:guishade1, s:guishade4, s:shade1, s:shade4 ], [ s:guishade5, s:guishade2, s:shade5, s:shade2 ] ] + let s:p.inactive.right = [ [ s:guishade1, s:guishade3, s:shade1, s:shade3 ], [ s:guishade3, s:guishade1, s:shade3, s:shade1 ] ] + let s:p.inactive.left = [ [ s:guishade4, s:guishade1, s:shade4, s:shade1 ], [ s:guishade3, s:guishade0, s:shade3, s:shade0 ] ] + let s:p.insert.left = [ [ s:guishade1, s:guiaccent3, s:shade1, s:accent3 ], [ s:guishade7, s:guishade2, s:shade7, s:shade2 ] ] + let s:p.replace.left = [ [ s:guishade1, s:guiaccent1, s:shade1, s:accent1 ], [ s:guishade7, s:guishade2, s:shade7, s:shade2 ] ] + let s:p.visual.left = [ [ s:guishade1, s:guiaccent6, s:shade1, s:accent6 ], [ s:guishade7, s:guishade2, s:shade7, s:shade2 ] ] + let s:p.normal.middle = [ [ s:guishade5, s:guishade1, s:shade5, s:shade1 ] ] + let s:p.inactive.middle = [ [ s:guishade4, s:guishade1, s:shade4, s:shade1 ] ] + let s:p.tabline.left = [ [ s:guishade6, s:guishade2, s:shade6, s:shade2 ] ] + let s:p.tabline.tabsel = [ [ s:guishade6, s:guishade0, s:shade6, s:shade0 ] ] + let s:p.tabline.middle = [ [ s:guishade2, s:guishade4, s:shade2, s:shade4 ] ] + let s:p.tabline.right = copy(s:p.normal.right) + let s:p.normal.error = [ [ s:guiaccent0, s:guishade0, s:accent0, s:shade0 ] ] + let s:p.normal.warning = [ [ s:guiaccent2, s:guishade1, s:accent2, s:shade1 ] ] + + let g:lightline#colorscheme#ThemerVimLightline#palette = lightline#colorscheme#fill(s:p) diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 1e6b7428..b0b9820f 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -30,6 +30,7 @@ Plug '~/.vim/plugged/ansible-vim', {'do': './UltiSnips/generate.sh'} syntax enable set background=dark colorscheme betelgeuse +set g:lightline = { 'colorscheme': 'ThemerVimLightline' } " Settings for plugin https://github.com/neoclide/coc.nvim.git autocmd FileType json syntax match Comment +\/\/.\+$+ diff --git a/dotfiles/.warp/themes/betelgeuse_dark.yaml b/dotfiles/.warp/themes/betelgeuse_dark.yaml new file mode 100644 index 00000000..e4ccce22 --- /dev/null +++ b/dotfiles/.warp/themes/betelgeuse_dark.yaml @@ -0,0 +1,23 @@ +accent: "#c3c7d1" +background: "#161925" +foreground: "#c3c7d1" +details: "darker" +terminal_colors: + normal: + black: "#161925" + red: "#ed254e" + green: "#71f79f" + yellow: "#f9dc5c" + blue: "#7cb7ff" + magenta: "#c74d89" + cyan: "#00c1e4" + white: "#aaaeb8" + bright: + black: "#2f323e" + red: "#dcdfe4" + green: "#00c1e4" + yellow: "#f9dc5c" + blue: "#7cb7ff" + magenta: "#c74d89" + cyan: "#00c1e4" + white: "#c3c7d1" diff --git a/dotfiles/.warp/themes/betelgeuse_light.yaml b/dotfiles/.warp/themes/betelgeuse_light.yaml new file mode 100644 index 00000000..762a868d --- /dev/null +++ b/dotfiles/.warp/themes/betelgeuse_light.yaml @@ -0,0 +1,23 @@ +accent: "#4c5058" +background: "#ffffff" +foreground: "#4c5058" +details: "lighter" +terminal_colors: + normal: + black: "#4c5058" + red: "#ff4972" + green: "#95ffc3" + yellow: "#ffff80" + blue: "#a0dbff" + magenta: "#eb71ad" + cyan: "#24e5ff" + white: "#e5e6e7" + bright: + black: "#666970" + red: "#dcdfe4" + green: "#24e5ff" + yellow: "#ffff80" + blue: "#a0dbff" + magenta: "#eb71ad" + cyan: "#24e5ff" + white: "#ffffff" diff --git a/dotfiles/Library/Developer/Xcode/UserData/FontAndColorThemes/Betelgeuse Dark.dvtcolortheme b/dotfiles/Library/Developer/Xcode/UserData/FontAndColorThemes/Betelgeuse Dark.dvtcolortheme new file mode 100644 index 00000000..8a5b8df0 --- /dev/null +++ b/dotfiles/Library/Developer/Xcode/UserData/FontAndColorThemes/Betelgeuse Dark.dvtcolortheme @@ -0,0 +1,83 @@ + + + + + DVTConsoleDebuggerInputTextColor + 0.764706 0.780392 0.819608 1 + DVTConsoleDebuggerOutputTextColor + 0.572549 0.584314 0.627451 1 + DVTConsoleDebuggerPromptTextColor + 0.862745 0.87451 0.894118 1 + DVTConsoleExectuableInputTextColor + 0.572549 0.584314 0.627451 1 + DVTConsoleExectuableOutputTextColor + 0.764706 0.780392 0.819608 1 + DVTConsoleTextBackgroundColor + 0.086275 0.098039 0.145098 1 + DVTConsoleTextInsertionPointColor + 0.764706 0.780392 0.819608 1 + DVTConsoleTextSelectionColor + 0.184314 0.196078 0.243137 1 + DVTDebuggerInstructionPointerColor + 0.443137 0.968627 0.623529 1 + DVTSourceTextBackground + 0.086275 0.098039 0.145098 1 + DVTSourceTextBlockDimBackgroundColor + 0.47451 0.486275 0.529412 1 + DVTSourceTextInsertionPointColor + 0.764706 0.780392 0.819608 1 + DVTSourceTextInvisiblesColor + 0.184314 0.196078 0.243137 1 + DVTSourceTextSelectionColor + 0.184314 0.196078 0.243137 1 + DVTSourceTextSyntaxColors + + xcode.syntax.attribute + 0.443137 0.968627 0.623529 1 + xcode.syntax.character + 0 0.756863 0.894118 1 + xcode.syntax.comment + 0.278431 0.294118 0.337255 1 + xcode.syntax.comment.doc + 0.376471 0.392157 0.435294 1 + xcode.syntax.comment.doc.keyword + 0.47451 0.486275 0.529412 1 + xcode.syntax.identifier.class + 0.976471 0.862745 0.360784 1 + xcode.syntax.identifier.class.system + 0.976471 0.862745 0.360784 1 + xcode.syntax.identifier.constant + 0.443137 0.968627 0.623529 1 + xcode.syntax.identifier.constant.system + 0.443137 0.968627 0.623529 1 + xcode.syntax.identifier.function + 0 0.756863 0.894118 1 + xcode.syntax.identifier.function.system + 0 0.756863 0.894118 1 + xcode.syntax.identifier.macro + 0.780392 0.301961 0.537255 1 + xcode.syntax.identifier.macro.system + 0.780392 0.301961 0.537255 1 + xcode.syntax.identifier.type + 0.929412 0.145098 0.305882 1 + xcode.syntax.identifier.type.system + 0.862745 0.87451 0.894118 1 + xcode.syntax.identifier.variable + 0.764706 0.780392 0.819608 1 + xcode.syntax.identifier.variable.system + 0.764706 0.780392 0.819608 1 + xcode.syntax.keyword + 0.486275 0.717647 1 1 + xcode.syntax.number + 0.443137 0.968627 0.623529 1 + xcode.syntax.plain + 0.666667 0.682353 0.721569 1 + xcode.syntax.preprocessor + 0.764706 0.780392 0.819608 1 + xcode.syntax.string + 0.443137 0.968627 0.623529 1 + xcode.syntax.url + 0.486275 0.717647 1 1 + + + \ No newline at end of file diff --git a/dotfiles/Library/Developer/Xcode/UserData/FontAndColorThemes/Betelgeuse Light.dvtcolortheme b/dotfiles/Library/Developer/Xcode/UserData/FontAndColorThemes/Betelgeuse Light.dvtcolortheme new file mode 100644 index 00000000..292f9eaf --- /dev/null +++ b/dotfiles/Library/Developer/Xcode/UserData/FontAndColorThemes/Betelgeuse Light.dvtcolortheme @@ -0,0 +1,83 @@ + + + + + DVTConsoleDebuggerInputTextColor + 0.298039 0.313725 0.345098 1 + DVTConsoleDebuggerOutputTextColor + 0.498039 0.509804 0.533333 1 + DVTConsoleDebuggerPromptTextColor + 0.862745 0.87451 0.894118 1 + DVTConsoleExectuableInputTextColor + 0.498039 0.509804 0.533333 1 + DVTConsoleExectuableOutputTextColor + 0.298039 0.313725 0.345098 1 + DVTConsoleTextBackgroundColor + 1 1 1 1 + DVTConsoleTextInsertionPointColor + 0.298039 0.313725 0.345098 1 + DVTConsoleTextSelectionColor + 0.898039 0.901961 0.905882 1 + DVTDebuggerInstructionPointerColor + 0.584314 1 0.764706 1 + DVTSourceTextBackground + 1 1 1 1 + DVTSourceTextBlockDimBackgroundColor + 0.6 0.607843 0.627451 1 + DVTSourceTextInsertionPointColor + 0.298039 0.313725 0.345098 1 + DVTSourceTextInvisiblesColor + 0.898039 0.901961 0.905882 1 + DVTSourceTextSelectionColor + 0.898039 0.901961 0.905882 1 + DVTSourceTextSyntaxColors + + xcode.syntax.attribute + 0.584314 1 0.764706 1 + xcode.syntax.character + 0.141176 0.898039 1 1 + xcode.syntax.comment + 0.8 0.803922 0.811765 1 + xcode.syntax.comment.doc + 0.698039 0.705882 0.717647 1 + xcode.syntax.comment.doc.keyword + 0.6 0.607843 0.627451 1 + xcode.syntax.identifier.class + 1 1 0.501961 1 + xcode.syntax.identifier.class.system + 1 1 0.501961 1 + xcode.syntax.identifier.constant + 0.584314 1 0.764706 1 + xcode.syntax.identifier.constant.system + 0.584314 1 0.764706 1 + xcode.syntax.identifier.function + 0.141176 0.898039 1 1 + xcode.syntax.identifier.function.system + 0.141176 0.898039 1 1 + xcode.syntax.identifier.macro + 0.921569 0.443137 0.678431 1 + xcode.syntax.identifier.macro.system + 0.921569 0.443137 0.678431 1 + xcode.syntax.identifier.type + 1 0.286275 0.447059 1 + xcode.syntax.identifier.type.system + 0.862745 0.87451 0.894118 1 + xcode.syntax.identifier.variable + 0.298039 0.313725 0.345098 1 + xcode.syntax.identifier.variable.system + 0.298039 0.313725 0.345098 1 + xcode.syntax.keyword + 0.627451 0.858824 1 1 + xcode.syntax.number + 0.584314 1 0.764706 1 + xcode.syntax.plain + 0.4 0.411765 0.439216 1 + xcode.syntax.preprocessor + 0.298039 0.313725 0.345098 1 + xcode.syntax.string + 0.584314 1 0.764706 1 + xcode.syntax.url + 0.627451 0.858824 1 1 + + + \ No newline at end of file