1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 19:01: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 allow_remote_control yes
listen_on unix:/tmp/fifo
map kitty_mod+n new_os_window_with_cwd map kitty_mod+n new_os_window_with_cwd
include themes/dark.conf 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 selection_foreground #ebdbb2
background #2A2f33 selection_background #d65d0e
selection_foreground #bfddb2
selection_background #474f54
url_color #e5a46b
cursor #82abbc
# black background #282828
color0 #2a2f33 foreground #ebdbb2
color8 #3f464b
# red color0 #3c3836
color1 #d76e6e color1 #cc241d
color9 #e68183 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 cursor #bdae93
color2 #acb765 cursor_text_color #665c54
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
url_color #458588

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,33 +1,40 @@
set window-title-basename "true" set notification-error-bg "#fbf1c7" # bg
set selection-clipboard "clipboard" 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 completion-bg "#d5c4a1" # bg2
set default-fg "#bfddb2" 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" # Define the color in index mode
set statusbar-bg "#2e3338" 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-bg "#fbf1c7" # bg
set inputbar-fg "#acb765" set inputbar-fg "#3c3836" # fg
set notification-bg "#2a2f33" set statusbar-bg "#d5c4a1" # bg2
set notification-fg "#82abbc" set statusbar-fg "#3c3836" # fg
set notification-error-bg "#614b51" set highlight-color "#b57614" # bright:yellow
set notification-error-fg "#d76e6e" set highlight-active-color "#af3a03" # bright:orange
set notification-warning-bg "#5d5c50" set default-bg "#fbf1c7" # bg
set notification-warning-fg "#e5a46b" set default-fg "#3c3836" # fg
set render-loading true
set highlight-color "#474f54" set render-loading-bg "#fbf1c7" # bg
set highlight-active-color "#d38bb6" set render-loading-fg "#3c3836" # fg
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"
# 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 #settings for software
export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=🔎" export FZF_DEFAULT_OPTS="--reverse --cycle --height=40% --border sharp --prompt=🔎"
export GPG_TTY=$(tty) # fixes gpg export GPG_TTY=$(tty) # fixes gpg
export JDK_HOME=/usr/lib/jvm/openjdk-17
export _JAVA_AWT_WM_NONREPARENTING=1
#colored output #colored output
export MANWIDTH=${MANWIDTH:-78} 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