Browse Source

All the Gruvbox

master
John Mertz 2 years ago
parent
commit
f609ffe7fd
  1. 27
      LICENSE.md
  2. 30
      README.md
  3. 94
      Xdefaults
  4. BIN
      fonts/truetype/firacode/FiraCode-Bold.ttf
  5. BIN
      fonts/truetype/firacode/FiraCode-Light.ttf
  6. BIN
      fonts/truetype/firacode/FiraCode-Medium.ttf
  7. BIN
      fonts/truetype/firacode/FiraCode-Regular.ttf
  8. BIN
      fonts/truetype/firacode/FiraCode-Retina.ttf
  9. BIN
      fonts/truetype/firacode/FiraCode-SemiBold.ttf
  10. 2
      profile
  11. 1418
      vim/colors/gruvbox.vim
  12. 74
      vim/vimrc
  13. 6
      xfce4/terminal/colorschemes/gruvbox-dark-hard.theme
  14. 6
      xfce4/terminal/colorschemes/gruvbox-dark-soft.theme
  15. 6
      xfce4/terminal/colorschemes/gruvbox-dark.theme
  16. 38
      xfce4/terminal/terminalrc
  17. 5
      zathura/zathurarc

27
LICENSE.md

@ -0,0 +1,27 @@
# Licensing
Except for those items mentioned below, all files are copyright of John Mertz
and are licensed under GPLv2.
You are free to use, modify and redistribute any of the files as you so choose.
# Exceptions
The following portions of the repository are the works of other individuals
produced under various permissive licenses which allow for redistribution.
Although not always required, the following attributions and licenses were
applicable at the time that the code was duplicated here.
Some files provide references to upstream attributions within their contents.
## Gruvbox Themes
Author: Pavel Pertsev
Source: https://github.com/morhetz/gruvbox
License: MIT
## Fira Code Fonts
Author: Nikita Prokopov
Source: https://github.com/tonsky/FiraCode
License: SIL Open Font License 1.1

30
README.md

@ -61,3 +61,33 @@ Bolder and more stylish, but the block characters aren't full height in XTerm, U
color-prompt.sh
Multi-line, colored prompt that is supported by all terminals.
# Terminals
## Gruvbox
Across multiple config files. See apply-gruvbox.sh in scripts repository.
## XFCE4 Terminal
xfce4/terminal/colorschemes
Just the Gruvbox-dark themes as a backup.
xfce4/terminal/terminalrc
Actual xfce4-terminal preferences.
## Xdefaults
Xdefaults
XTerm, UXTerm and URxvt preferences. Backup of Gruvbox settings, fonts, launcher, etc.
Importantly, sets urgentOnBell so that windows and workspaces get highlights.
# Zathura
zathura/zathurarc
Gruvbox theme for recoloring documents.

94
Xdefaults

@ -0,0 +1,94 @@
XTerm*termName: XTerm
XTerm*scrollBar_right: True
XTerm*bellIsUrgent: True
XTerm*font: xft:Fira Code:size=11
XTerm*popOnBell: True
XTerm*urgentOnBell: True
XTerm*perl-ext-common: default,matcher
XTerm*urlLauncher: /home/jpm/bin/firefox/firefox
XTerm*matcher.button: 1
XTerm*scrollstyle: plain
XTerm*saveLines: 5000
! soft XTerm*background: #32302f
! medium XTerm*background: #282828
! hard
XTerm*background: #1d2021
XTerm*foreground: #ebdbb2
XTerm*color0: #282828
XTerm*color1: #cc241d
XTerm*color2: #98971a
XTerm*color3: #d79921
XTerm*color4: #458588
XTerm*color5: #b16286
XTerm*color6: #68986a
XTerm*color7: #a89984
XTerm*color8: #928374
XTerm*color9: #fb4934
XTerm*color10: #b8bb26
XTerm*color11: #fabd2f
XTerm*color12: #83a598
XTerm*color13: #d3869b
XTerm*color14: #8ec07c
XTerm*color15: #ebdbb2
UXTerm*termName: UXTerm
UXTerm*scrollBar_right: True
UXTerm*font: xft:Fira Code:style=Regular:size=11
UXTerm*bellIsUrgent: True
UXTerm*popOnBell: True
UXTerm*urgentOnBell: True
UXTerm*perl-ext-common: default,matcher
UXTerm*urlLauncher: /home/jpm/bin/firefox/firefox
UXTerm*matcher.button: 1
UXTerm*scrollstyle: plain
UXTerm*saveLines: 5000
! soft UXTerm*background: #32302f
! medium UXTerm*background: #282828
! hard
UXTerm*background: #1d2021
UXTerm*foreground: #ebdbb2
UXTerm*color0: #282828
UXTerm*color1: #cc241d
UXTerm*color2: #98971a
UXTerm*color3: #d79921
UXTerm*color4: #458588
UXTerm*color5: #b16286
UXTerm*color6: #68986a
UXTerm*color7: #a89984
UXTerm*color8: #928374
UXTerm*color9: #fb4934
UXTerm*color10: #b8bb26
UXTerm*color11: #fabd2f
UXTerm*color12: #83a598
UXTerm*color13: #d3869b
UXTerm*color14: #8ec07c
UXTerm*color15: #ebdbb2
URxvt.termName: rxvt-unicode
URxvt.font: xft:Fira Code:style=Regular:size=11
URxvt.scrollBar_right: True
URxvt.urgentOnBell: True
URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: /home/jpm/bin/firefox/firefox
URxvt.matcher.button: 1
URxvt.scrollstyle: plain
URxvt.saveLines: 5000
! soft URxvt.background: #32302f
! medium URxvt.background: #282828
! hard
URxvt.background: #1d2021
URxvt.foreground: #ebdbb2
URxvt.color0: #282828
URxvt.color1: #cc241d
URxvt.color2: #98971a
URxvt.color3: #d79921
URxvt.color4: #458588
URxvt.color5: #b16286
URxvt.color6: #68986a
URxvt.color7: #a89984
URxvt.color8: #928374
URxvt.color9: #fb4934
URxvt.color10: #b8bb26
URxvt.color11: #fabd2f
URxvt.color12: #83a598
URxvt.color13: #d3869b
URxvt.color14: #8ec07c
URxvt.color15: #ebdbb2

BIN
fonts/truetype/firacode/FiraCode-Bold.ttf

Binary file not shown.

BIN
fonts/truetype/firacode/FiraCode-Light.ttf

Binary file not shown.

BIN
fonts/truetype/firacode/FiraCode-Medium.ttf

Binary file not shown.

BIN
fonts/truetype/firacode/FiraCode-Regular.ttf

Binary file not shown.

BIN
fonts/truetype/firacode/FiraCode-Retina.ttf

Binary file not shown.

BIN
fonts/truetype/firacode/FiraCode-SemiBold.ttf

Binary file not shown.

2
profile

@ -1,5 +1,7 @@
export GTK_THEME="Adwaita:dark"
export PROFILE_NAME="Gruvbox"
export QT_QPA_PLATFORMTHEME="qt5ct"
export DCONF=".config/dconf/user"
export SSH_AUTH_SOCK=~/.ssh/ssh-agent.$HOSTNAME.sock
ssh-agent -a "$SSH_AUTH_SOCK" >/dev/null

1418
vim/colors/gruvbox.vim

File diff suppressed because it is too large Load Diff

74
vim/vimrc

@ -0,0 +1,74 @@
set nocompatible
filetype off
filetype plugin indent on
let g:gruvbox_italic=1
autocmd vimenter * colorscheme gruvbox
set ttyfast
set laststatus=2
set encoding=utf-8
set autoread
set autoindent
set backspace=indent,eol,start
set incsearch
set hlsearch
set number
set noswapfile
set title
" 4 spaces is the correct number of spaces. Fight me...
syn on se title
set ts=4
set softtabstop=4
set shiftwidth=4
set expandtab
" Show tabs and trailing spaces
set list listchars=tab:»\ ,trail
set spelllang=en_ca
syntax enable
" Strip whitespace on save
fun! <SID>StripTrailingWhitespaces()
" Preparation: save last search, and cursor position.
let _s=@/
let l = line(".")
let c = col(".")
" Do the business:
%s/\s\+$//e
" Clean up: restore previous search history, and cursor position
let @/=_s
call cursor(l, c)
endfun
command -nargs=0 Stripwhitespace :call <SID>StripTrailingWhitespaces()
" Fix indentation in file
map <leader>i mmgg=G`m<CR>
" Toggle highlighting of search results
nnoremap <leader><space> :nohlsearch<cr>
" Unsmart Quotes
nnoremap guq :%s/\v[“”]/"/g<cr>
if has("autocmd")
" StripTrailingWhitespaces
autocmd BufWritePre * Stripwhitespace
" To spell check all git commit messages
au BufNewFile,BufRead COMMIT_EDITMSG set spell nonumber nolist wrap linebreak
" Set filetype tab settings
autocmd FileType python,doctest set ai ts=4 sw=4 sts=4 et
autocmd BufReadPost *
\ if line("'\"") > 1 && line("'\"") <= line("$") |
\ exe "normal! g`\"" |
\ endif
endif

6
xfce4/terminal/colorschemes/gruvbox-dark-hard.theme

@ -0,0 +1,6 @@
[Scheme]
Name=gruvbox dark hard
ColorForeground=#ebdbb2
ColorBackground=#1d2021
ColorPalette=#282828;#cc241d;#98971a;#d79921;#458588;#b16286;#689d6a;#a89984;#928374;#fb4934;#b8bb26;#fabd2f;#83a598;#d3869b;#8ec07c;#ebdbb2
TabActivityColor=#bf4040

6
xfce4/terminal/colorschemes/gruvbox-dark-soft.theme

@ -0,0 +1,6 @@
[Scheme]
Name=gruvbox dark soft
ColorForeground=#ebdbb2
ColorBackground=#32302f
ColorPalette=#282828;#cc241d;#98971a;#d79921;#458588;#b16286;#689d6a;#a89984;#928374;#fb4934;#b8bb26;#fabd2f;#83a598;#d3869b;#8ec07c;#ebdbb2
TabActivityColor=#bf4040

6
xfce4/terminal/colorschemes/gruvbox-dark.theme

@ -0,0 +1,6 @@
[Scheme]
Name=gruvbox dark
ColorForeground=#ebdbb2
ColorBackground=#282828
ColorPalette=#282828;#cc241d;#98971a;#d79921;#458588;#b16286;#689d6a;#a89984;#928374;#fb4934;#b8bb26;#fabd2f;#83a598;#d3869b;#8ec07c;#ebdbb2
TabActivityColor=#bf4040

38
xfce4/terminal/terminalrc

@ -0,0 +1,38 @@
[Configuration]
MiscAlwaysShowTabs=FALSE
MiscBell=TRUE
MiscBellUrgent=TRUE
MiscBordersDefault=FALSE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x24
MiscInheritGeometry=FALSE
MiscMenubarDefault=FALSE
MiscMouseAutohide=TRUE
MiscMouseWheelZoom=TRUE
MiscToolbarDefault=FALSE
MiscConfirmClose=FALSE
MiscCycleTabs=TRUE
MiscTabCloseButtons=TRUE
MiscTabCloseMiddleClick=TRUE
MiscTabPosition=GTK_POS_TOP
MiscHighlightUrls=TRUE
MiscMiddleClickOpensUri=TRUE
MiscCopyOnSelect=FALSE
MiscShowRelaunchDialog=TRUE
MiscRewrapOnResize=TRUE
MiscUseShiftArrowsToScroll=FALSE
MiscSlimTabs=FALSE
MiscNewTabAdjacent=FALSE
FontName=Fira Code 11
MiscSearchDialogOpacity=100
MiscShowUnsafePasteDialog=TRUE
TextBlinkMode=TERMINAL_TEXT_BLINK_MODE_NEVER
ColorPalette=#282828;#cc241d;#98971a;#d79921;#458588;#b16286;#68986a;#a89984;#928374;#fb4934;#b8bb26;#fabd2f;#83a598;#d3869b;#8ec07c;#ebdbb2
FontUseSystem=TRUE
ColorBackground=#1d2021
ColorForeground=#ebdbb2
TabActivityColor=#bf4040
ColorCursor=#ebdbb2
ColorCursorUseDefault=FALSE

5
zathura/zathurarc

@ -0,0 +1,5 @@
set default-bg "#1d2021"
set default-fg "#ebdbb2"
set recolor true
set recolor-lightcolor "#1d2021"
set recolor-darkcolor "#ebdbb2"
Loading…
Cancel
Save