1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 02:41:50 +08:00

change colorscheme to Gruvbox

This commit is contained in:
juan 2023-02-10 15:26:53 +08:00
parent bd030de9f1
commit 3d221e6af9
No known key found for this signature in database
GPG Key ID: 63A51E78F28ACE53
20 changed files with 207 additions and 196 deletions

View File

@ -26,6 +26,8 @@ allow_hyperlinks ask
allow_remote_control yes
listen_on unix:/tmp/fifo
map kitty_mod+n new_os_window_with_cwd
include themes/dark.conf

View File

@ -1,41 +1,32 @@
# serenade
## name: Gruvbox Dark
## author: Pavel Pertsev
## license: MIT/X11
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-dark.conf
foreground #bfddb2
background #2A2f33
selection_foreground #bfddb2
selection_background #474f54
url_color #e5a46b
cursor #82abbc
selection_foreground #ebdbb2
selection_background #d65d0e
# black
color0 #2a2f33
color8 #3f464b
background #282828
foreground #ebdbb2
# red
color1 #d76e6e
color9 #e68183
color0 #3c3836
color1 #cc241d
color2 #98971a
color3 #d79921
color4 #458588
color5 #b16286
color6 #689d6a
color7 #a89984
color8 #928374
color9 #fb4934
color10 #b8bb26
color11 #fabd2f
color12 #83a598
color13 #d3869b
color14 #8ec07c
color15 #fbf1c7
# green
color2 #acb765
color10 #a7c080
# yellow
color3 #e5a46b
color11 #dbbc7f
# blue
color4 #82abbc
color12 #7fbbb3
# magenta
color5 #d39bb6
color13 #d699b6
# cyan
color6 #87c095
color14 #83c092
# white
color7 #d8caac
color15 #d8caac
cursor #bdae93
cursor_text_color #665c54
url_color #458588

View File

@ -1,39 +1,47 @@
# everforest light
foreground #323d43
background #fdf6e3
selection_foreground #e4e1cd
selection_background #d3dbc8
url_color #415c6d
cursor #3a94c5
# vim:ft=kitty
## name: Gruvbox Material Light Medium
## author: Sainnhe Park
## license: MIT
## upstream: https://raw.githubusercontent.com/rsaihe/gruvbox-material-kitty/main/colors/gruvbox-material-light-medium.conf
## blurb: A modified version of Gruvbox with softer contrasts
# black
color0 #3c474d
color8 #5f6d67
background #fbf1c7
foreground #654735
# red
color1 #f85552
color9 #e68183
selection_background #654735
selection_foreground #fbf1c7
# green
color2 #8da101
color10 #a7c080
cursor #928374
cursor_text_color background
# yellow
color3 #dfa000
color11 #dbbc7f
# Black
color0 #bdae93
color8 #928374
# blue
color4 #3a94c5
color12 #7fbbb3
# Red
color1 #c14a4a
color9 #c14a4a
# magenta
color5 #df69ba
color13 #d699b6
# Green
color2 #6c782e
color10 #6c782e
# cyan
color6 #93b259
color14 #83c092
# Yellow
color3 #c35e0a
color11 #b47109
# white
color7 #f3efda
color15 #e1ddc9
# Blue
color4 #45707a
color12 #45707a
# Magenta
color5 #945e80
color13 #945e80
# Cyan
color6 #4c7a5d
color14 #4c7a5d
# White
color7 #654735
color15 #654735

View File

@ -1,7 +1,7 @@
# vim: filetype=i3config
# wallpaper
output * bg $(find ~/Pictures/Wallpapers/dark -type f | shuf -n1) fill
output * bg $(find -L ~/Pictures/Wallpapers/dark -type f | shuf -n1) fill
# laptop output mode
set $laptop eDP-1

View File

@ -1,6 +1,7 @@
# vim: filetype=i3config
##starting userspace software
exec mkfifo /tmp/kitty
exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500
exec light -S 70
exec gentoo-pipewire-launcher

View File

@ -12,12 +12,12 @@ exec_always {
#set colour
#color class border backgr. text indicator child_border
client.focused #87c095 #2a2f33 #bfddb2 #415c6d #bfddb2
client.focused_inactive #3f464b #2a2f33 #bfddb2 #415c6d #3f464b
client.unfocused #3f464b #2a2f33 #bfddb2 #415c6d #3f464b
client.urgent #d76e6e #2a2f33 #bfddb2 #415c6d #e68183
client.placeholder #3f464b #2a2f33 #bfddb2 #415c6d #3f464b
client.background #3f464b #2a2f33
client.focused #fbf1c7 #282828 #ebdbb2 #928374 #fbf1c7
client.focused_inactive #928374 #282828 #ebdbb2 #928374 #928374
client.unfocused #928374 #282828 #ebdbb2 #928374 #928374
client.urgent #cc241d #282828 #ebdbb2 #928374 #cc241d
client.placeholder #928374 #282828 #ebdbb2 #928374 #928374
client.background #928374 #282828
#borders stuff
default_border pixel 1

View File

@ -12,12 +12,12 @@ exec_always {
#set colour
#color class border backgr. text indicator child_border
client.focused #415c6d #323d43 #fdf6e3 #415c6d #415c6d
client.focused_inactive #e4e1cd #323d43 #fdf6e3 #415c6d #e4e1cd
client.unfocused #e4e1cd #323d43 #fdf6e3 #415c6d #e4e1cd
client.urgent #e68183 #323d43 #fdf6e3 #415c6d #e68183
client.placeholder #e4e1cd #323d43 #fdf6e3 #415c6d #e4e1cd
client.background #e4e1cd #323d43
client.focused #d65d0e #fbf1c7 #282828 #3c3836 #d65d0e
client.focused_inactive #ebdbb2 #fbf1c7 #282828 #3c3836 #ebdbb2
client.unfocused #ebdbb2 #fbf1c7 #282828 #3c3836 #ebdbb2
client.urgent #cc241d #fbf1c7 #282828 #3c3836 #cc241d
client.placeholder #ebdbb2 #fbf1c7 #282828 #3c3836 #ebdbb2
client.background #ebdbb2 #fbf1c7
#borders stuff
default_border pixel 1

View File

@ -23,8 +23,10 @@ swaync-client -rs &
# more settings
if [ $scheme = "light" ]; then
kitty -1 sh -c "kitty @ set-colors -a -c ~/.config/kitty/themes/light.conf" &
mv ~/.config/zathura/zathurarc.light ~/.config/zathura/zathurarc
else
kitty -1 sh -c "kitty @ set-colors -a -c ~/.config/kitty/themes/dark.conf" &
mv ~/.config/zathura/zathurarc.dark ~/.config/zathura/zathurarc
fi
sway reload

View File

@ -1,10 +1,9 @@
@define-color border-color #7f868c;
@define-color bg #2e3338;
@define-color bg-trans rgba(46, 51, 56, 0.9);
@define-color bg-hover #373d41;
@define-color bg-focus #474f54;
@define-color bg-selected #3f464b;
@define-color fg #bfddb2;
@define-color orange #e5a46b;
@define-color blue #82abbc;
@define-color border-color #a89984;
@define-color bg #282828;
@define-color bg-trans rgba(40, 40, 40, 0.9);
@define-color bg-hover #3c3836;
@define-color bg-focus #3c3836;
@define-color bg-selected #3c3836;
@define-color fg #ebdbb2;
@define-color warning #d65d0e;
@define-color primary #689d6a;

View File

@ -1,10 +1,9 @@
@define-color border-color #5f6d67;
@define-color bg #f3efda;
@define-color bg-trans rgba(243, 239, 218, 0.9);
@define-color bg-hover #d3dbc8;
@define-color bg-focus #d3dbc8;
@define-color bg-selected #d3dbc8;
@define-color fg #323d43;
@define-color orange #dfa000;
@define-color blue #3a94c5;
@define-color border-color #928374;
@define-color bg #fbf1c7;
@define-color bg-trans rgba(251, 241, 199, 0.9);
@define-color bg-hover #f2e5bc;
@define-color bg-focus #f2e5bc;
@define-color bg-selected #f2e5bc;
@define-color fg #3c3836;
@define-color warning #d65d0e;
@define-color primary #689d6a;

View File

@ -106,7 +106,7 @@
}
.control-center-clear-all {
color: @orange;
color: @warning;
text-shadow: none;
background: @bg;
border: 1px solid @border-color;
@ -125,7 +125,7 @@
}
.control-center-dnd:checked {
background: @blue;
background: @primary;
}
.control-center-dnd slider {
border-radius: 3px;

View File

@ -1,20 +1,19 @@
@define-color background #2a2f33;
@define-color selection_background #474f54;
@define-color foreground #bfddb2;
@define-color blue #82abbc;
@define-color cyan #87c095;
@define-color green #acb765;
@define-color magenta #d39bb6;
@define-color red #d76e6e;
@define-color white #d8caac;
@define-color yellow #e5a46b;
@define-color background #282828;
@define-color selection_background #32302f;
@define-color foreground #ebdbb2;
@define-color blue #458588;
@define-color cyan #689d6a;
@define-color green #98971a;
@define-color magenta #b16286;
@define-color red #cc241d;
@define-color white #a89984;
@define-color yellow #d79921;
@define-color background_b #767b82;
@define-color blue_b #7fbbb3;
@define-color cyan_b #83c092;
@define-color green_b #a7c080;
@define-color magenta_b #d699b6;
@define-color orange_b #e5a46b;
@define-color red_b #e68183;
@define-color white_b #d8caac;
@define-color yellow_b #dbbc7f;
@define-color background_b #928374;
@define-color blue_b #83a598;
@define-color cyan_b #8ec07c;
@define-color green_b #b8bb26;
@define-color magenta_b #d3869b;
@define-color red_b #fb4934;
@define-color white_b #fbf1c7;
@define-color yellow_b #fabd2f;

View File

@ -1,20 +1,20 @@
@define-color background #f3efda;
@define-color selection_background #4a555b;
@define-color foreground #323d43;
@define-color blue #3a94c5;
@define-color cyan #35a77c;
@define-color green #8da101;
@define-color magenta #df69ba;
@define-color red #f85552;
@define-color white #fdf6e3;
@define-color yellow #dfa000;
@define-color background #fbf1c7;
@define-color selection_background #928374;
@define-color foreground #3c3836;
@define-color blue #458588;
@define-color cyan #689d6a;
@define-color green #98971a;
@define-color magenta #b16286;
@define-color red #cc241d;
@define-color white #3c3836;
@define-color yellow #d79921;
@define-color background_b #525c62;
@define-color blue_b #7fbbb3;
@define-color cyan_b #83c092;
@define-color green_b #a7c080;
@define-color magenta_b #d699b6;
@define-color orange_b #e5a46b;
@define-color red_b #e68183;
@define-color white_b #d8caac;
@define-color yellow_b #dbbc7f;
@define-color background_b #928374;
@define-color blue_b #076678;
@define-color cyan_b #427b58;
@define-color green_b #79740e;
@define-color magenta_b #8f3f71;
@define-color orange_b #af3a03;
@define-color red_b #9d0006;
@define-color white_b #282828;
@define-color yellow_b #b57614;

View File

@ -1,11 +1,12 @@
border_size = 2
border_offset = 0
anchor = top
margin = 48
border_color = 474f54f0
background_color = 2a2f33f0
bar_color = bfddb2F0
border_color = a89984f0
background_color = 282828f0
bar_color = 689d6af0
bar_padding = 2
overflow_mode = wrap
overflow_background_color = 2a2f33f0
overflow_bar_color = d76e6ef0
overflow_border_color = 474f54f0
overflow_background_color = 282828f0
overflow_bar_color = d65d0ef0
overflow_border_color = d79921f0

View File

@ -1,33 +1,33 @@
window {
margin: 0px;
border: 1px solid #7f868c;
border: 1px solid #928374;
border-radius: 3px;
background-color: #2a2f33;
background-color: #282828;
font-family: monospace;
font-size: 14px;
}
#input {
margin: 5px;
border: 1px solid #bfddb2;
color: #c1bf89;
background-color: #2e3338;
border: 1px solid #458588;
color: #ebddb2;
background-color: #282828;
}
#input image {
color: #bfddb2;
#image {
color: #458588;
}
#inner-box {
margin: 5px;
border: none;
background-color: #2a2f33;
background-color: #282828;
}
#outer-box {
margin: 5px;
border: none;
background-color: #2a2f33;
background-color: #282828;
}
#scroll {
@ -38,19 +38,19 @@ window {
#text {
margin: 5px;
border: none;
color: #bfddb2;
color: #d5c4a1;
}
#entry:selected {
background-color: #474f54;
color: #c1bf89;
background-color: #3c3836;
color: #ebddb2;
border-radius: 3px;
font-weight: normal;
}
#text:selected {
background-color: #474f54;
color: #c1bf89;
background-color: #3c3836;
color: #ebddb2;
border-radius: 3px;
font-weight: bold;
}

View File

@ -1,33 +1,33 @@
window {
margin: 0px;
border: 1px solid #5f6d67;
border: 1px solid #928374;
border-radius: 3px;
background-color: #fdf6e3;
background-color: #fbf1c7;
font-family: monospace;
font-size: 14px;
}
#input {
margin: 5px;
border: 1px solid #8da101;
border: 1px solid #427b58;
color: #323d43;
background-color: #e4e1cd;
background-color: #fbf1c7;
}
#input image {
color: #a7c080;
#img {
color: #689d6a;
}
#inner-box {
margin: 5px;
border: none;
background-color: #fdf6e3;
background-color: #fbf1c7;
}
#outer-box {
margin: 5px;
border: none;
background-color: #fdf6e3;
background-color: #fbf1c7;
}
#scroll {
@ -42,14 +42,14 @@ window {
}
#entry:selected {
background-color: #d3dbc8;
background-color: #ebdbb2;
color: #323d43;
border-radius: 3px;
font-weight: normal;
}
#text:selected {
background-color: #d3dbc8;
background-color: #ebdbb2;
color: #323d43;
border-radius: 3px;
font-weight: bold;

View File

@ -1,33 +1,40 @@
set window-title-basename "true"
set selection-clipboard "clipboard"
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 default-bg "#2a2f33"
set default-fg "#bfddb2"
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
set statusbar-fg "#767b82"
set statusbar-bg "#2e3338"
# 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 "#2e3338"
set inputbar-fg "#acb765"
set inputbar-bg "#fbf1c7" # bg
set inputbar-fg "#3c3836" # fg
set notification-bg "#2a2f33"
set notification-fg "#82abbc"
set statusbar-bg "#d5c4a1" # bg2
set statusbar-fg "#3c3836" # fg
set notification-error-bg "#614b51"
set notification-error-fg "#d76e6e"
set highlight-color "#b57614" # bright:yellow
set highlight-active-color "#af3a03" # bright:orange
set notification-warning-bg "#5d5c50"
set notification-warning-fg "#e5a46b"
set highlight-color "#474f54"
set highlight-active-color "#d38bb6"
set completion-bg "#474f54"
set completion-fg "#acb765"
set completion-highlight-fg "#d39bb6"
set completion-highlight-bg "#31363b"
set recolor-lightcolor "#2a2f33"
set recolor-darkcolor "#bfddb2"
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

2
.zshrc
View File

@ -109,6 +109,8 @@ export XDG_CONFIG_HOME=$HOME/.config
#settings for software
export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=🔎"
export GPG_TTY=$(tty) # fixes gpg
export JDK_HOME=/usr/lib/jvm/openjdk-17
export _JAVA_AWT_WM_NONREPARENTING=1
#colored output
export MANWIDTH=${MANWIDTH:-78}

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB