Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng d2a1edf021
Switch to Gruvbox as light theme 2023-02-01 03:40:42 +01:00
coolneng b2f54d5d6e
Switch to Nord colorscheme as dark theme 2023-02-01 03:38:06 +01:00
14 changed files with 156 additions and 121 deletions

View File

@ -0,0 +1,33 @@
## name: Gruvbox Light
## author: Pavel Pertsev
## license: MIT/X11
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-light.conf
selection_foreground #3c3836
selection_background #d65d0e
background #fbf1c7
foreground #3c3836
color0 #ebdbb2
color1 #cc241d
color2 #98971a
color3 #d79921
color4 #458588
color5 #b16286
color6 #689d6a
color7 #7c6f64
color8 #928374
color9 #9d0006
color10 #79740e
color11 #b57614
color12 #076678
color13 #8f3f71
color14 #427b58
color15 #282828
cursor #665c54
cursor_text_color #bdae93
url_color #458588

View File

@ -1,39 +0,0 @@
background #161821
foreground #c6c8d1
selection_background #1e2132
selection_foreground #c6c8d1
cursor #d2d4de
# black
color0 #161821
color8 #6b7089
# red
color1 #e27878
color9 #e98989
# green
color2 #b4be82
color10 #c0ca8e
# yellow/orange
color3 #e2a478
color11 #e9b189
# blue
color4 #84a0c6
color12 #91acd1
# magenta/purple
color5 #a093c7
color13 #ada0d3
# cyan
color6 #89b8c2
color14 #95c4ce
# white
color7 #c6c8d1
color15 #d2d4de

View File

@ -1,40 +0,0 @@
background #e8e9ec
foreground #33374c
selection_background #d2d4dd
selection_foreground #33374c
cursor #33374c
cursor_text_color #e8e9ec
# black
color0 #dcdfe7
color8 #8389a3
# red
color1 #cc517a
color9 #cc3768
# green
color2 #668e3d
color10 #598030
# yellow/orange
color3 #c57339
color11 #b6662d
# blue
color4 #2d539e
color12 #22478e
# magenta/purple
color5 #7759b4
color13 #6845ad
# cyan
color6 #3f83a6
color14 #327698
# white
color7 #33374c
color15 #262a3f

View File

@ -0,0 +1,50 @@
# vim:ft=kitty
## name: Nord
## author: Connor Holyday
## license: MIT
## upstream: https://raw.githubusercontent.com/connorholyday/nord-kitty/master/nord.conf
## blurb: An arctic, north-bluish clean and elegant Kitty theme.
# Nord Colorscheme for Kitty
# Based on:
# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192
# - https://github.com/arcticicestudio/nord-hyper
foreground #D8DEE9
background #2E3440
selection_foreground #000000
selection_background #FFFACD
url_color #0087BD
cursor #81A1C1
# black
color0 #3B4252
color8 #4C566A
# red
color1 #BF616A
color9 #BF616A
# green
color2 #A3BE8C
color10 #A3BE8C
# yellow
color3 #EBCB8B
color11 #EBCB8B
# blue
color4 #81A1C1
color12 #81A1C1
# magenta
color5 #B48EAD
color13 #B48EAD
# cyan
color6 #88C0D0
color14 #8FBCBB
# white
color7 #E5E9F0
color15 #ECEFF4

View File

@ -32,11 +32,11 @@ let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
""Vim-plug
call plug#begin('~/.config/nvim/plugged')
Plug 'Raimondi/delimitMate'
Plug 'cocopon/iceberg.vim'
Plug 'arcticicestudio/nord-vim'
Plug 'morhetz/gruvbox'
Plug 'LnL7/vim-nix'
call plug#end()
""Colors
colorscheme iceberg
set termguicolors
""Disabe status line
set laststatus=0

View File

@ -1,17 +1,18 @@
#!/bin/sh
LIGHT_THEME="gruvbox"
DARK_THEME="nord"
capitalize() {
printf '%s' "$1" | head -c 1 | tr "[:lower:]" "[:upper:]"
printf '%s' "$1" | tail -c '+2'
}
change_theme() {
sed -i "s/iceberg_$1/iceberg_$2/" ~/.config/kitty/kitty.conf
sed -i "s/bg=$1/bg=$2/" ~/.config/nvim/init.vim
sed -i "s/iceberg_$1/iceberg_$2/" ~/.dotfiles/tmux/.tmux.conf
sed -i "s/iceberg_$1/iceberg_$2/" ~/.config/zathura/zathurarc
kitty +kitten themes --reload-in=all "Iceberg $(capitalize "$2")"
tmux source-file ~/.tmux.conf
sed -i "s/$1/$2/" ~/.config/kitty/kitty.conf
sed -i "s/$1/$2/" ~/.config/nvim/init.vim
sed -i "s/$1/$2/" ~/.config/zathura/zathurarc
kitty +kitten themes --reload-in=all "$(capitalize "$2")"
nvr --remote-send ":source ~/.config/nvim/init.vim <CR>"
}
@ -35,10 +36,10 @@ mode=$1
if [ "$mode" = "light" ]; then
emacsclient --eval "(load-theme 'doom-solarized-light 'no-confirm)"
change_theme dark light
change_theme "$DARK_THEME" "$LIGHT_THEME"
recolor_zathura
else
emacsclient --eval "(load-theme 'doom-one 'no-confirm)"
change_theme light dark
change_theme "$LIGHT_THEME" "$DARK_THEME"
recolor_zathura
fi

View File

@ -78,3 +78,4 @@ set -g mouse on
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
source ~/.tmux/statusbar.conf

View File

@ -1,11 +0,0 @@
set -g status-justify "centre"
set -g status "on"
set -g status-left-style "none"
set -g status-style "none,bg=#1e2132"
set -g status-left "#[bold] #S"
set -g status-right ""
set -g pane-border-style "fg=#2e3244"
set -g pane-active-border-style "fg=#454b68"
setw -g window-status-style "none,fg=#c6c8d1,bg=#1e2132"
setw -g window-status-format " #[fg=#c6c8d1] #I #W "
setw -g window-status-current-format " #[fg=#c6c8d1,bg=#2e3244,bold] #I #W "

View File

@ -1,11 +0,0 @@
set -g status-justify "centre"
set -g status "on"
set -g status-left-style "none"
set -g status-style "none,bg=#d2d4dd"
set -g status-left "#[bold] #S"
set -g status-right ""
set -g pane-border-style "fg=#c6c8d1"
set -g pane-active-border-style "fg=#33374c"
setw -g window-status-style "none,fg=#33374c,bg=#d2d4dd"
setw -g window-status-format " #[fg=#afafaf] #I #W "
setw -g window-status-current-format " #[fg=#282a2e,bold] #I #W "

11
tmux/.tmux/statusbar.conf Normal file
View File

@ -0,0 +1,11 @@
set -g status-justify "centre"
set -g status "on"
set -g status-left-style "none"
set -g status-style "none,bg=black"
set -g status-left "#[bold] #S"
set -g status-right ""
set -g pane-border-style "fg=#2e3244"
set -g pane-active-border-style "fg=#454b68"
setw -g window-status-style "none,fg=black,bg=brightblack"
setw -g window-status-format "#[fg=black,bg=brightblack] #I #W "
setw -g window-status-current-format "#[fg=black,bg=cyan,bold] #I #W "

View File

@ -0,0 +1,40 @@
set notification-error-bg "#fbf1c7" # bg
set notification-error-fg "#9d0006" # bright:red
set notification-warning-bg "#fbf1c7" # bg
set notification-warning-fg "#b57614" # bright:yellow
set notification-bg "#fbf1c7" # bg
set notification-fg "#79740e" # bright:green
set completion-bg "#d5c4a1" # bg2
set completion-fg "#3c3836" # fg
set completion-group-bg "#ebdbb2" # bg1
set completion-group-fg "#928374" # gray
set completion-highlight-bg "#076678" # bright:blue
set completion-highlight-fg "#d5c4a1" # bg2
# Define the color in index mode
set index-bg "#d5c4a1" # bg2
set index-fg "#3c3836" # fg
set index-active-bg "#076678" # bright:blue
set index-active-fg "#d5c4a1" # bg2
set inputbar-bg "#fbf1c7" # bg
set inputbar-fg "#3c3836" # fg
set statusbar-bg "#d5c4a1" # bg2
set statusbar-fg "#3c3836" # fg
set highlight-color "#b57614" # bright:yellow
set highlight-active-color "#af3a03" # bright:orange
set default-bg "#fbf1c7" # bg
set default-fg "#3c3836" # fg
set render-loading true
set render-loading-bg "#fbf1c7" # bg
set render-loading-fg "#3c3836" # fg
# Recolor book content's color
set recolor-lightcolor "#fbf1c7" # bg
set recolor-darkcolor "#3c3836" # fg
set recolor "true"
# set recolor-keephue true # keep original color

View File

@ -1,5 +0,0 @@
set recolor-lightcolor "#161821"
set recolor-darkcolor "#c6c8d1"
set completion-bg "#161821"
set statusbar-bg "#161821"
set statusbar-fg "#c6c8d1"

View File

@ -1,5 +0,0 @@
set recolor-lightcolor "#e8e9ec"
set recolor-darkcolor "#33374c"
set completion-bg "#e8e9ec"
set statusbar-bg "#e8e9ec"
set statusbar-fg "#33374c"

View File

@ -0,0 +1,10 @@
set completion-bg "#2E3440"
set statusbar-bg "#2E3440"
set statusbar-fg "#E5E9F0"
set recolor-lightcolor "#2E3440"
set recolor-darkcolor "#ECEFF4"
set default-bg "#2E3440"
set default-fg "#ECEFF4"
set render-loading true
set render-loading-bg "#2E3440"
set render-loading-fg "#ECEFF4"