1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-25 12:21:50 +08:00

Better theming and color

This commit is contained in:
juan 2022-09-20 13:03:40 +08:00
parent 24e2673bdf
commit 1908133afb
No known key found for this signature in database
GPG Key ID: 63A51E78F28ACE53
6 changed files with 11 additions and 9 deletions

View File

@ -4,7 +4,7 @@ background #fdf6e3
selection_foreground #e4e1cd
selection_background #d3dbc8
url_color #415c6d
cursor #7fbbb3
cursor #3a94c5
# black
color0 #3c474d

View File

@ -4,7 +4,7 @@
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Adwaita-dark'
gsettings set $gnome-schema icon-theme 'Papirus-Light'
gsettings set $gnome-schema icon-theme 'Papirus-Dark'
gsettings set $gnome-schema cursor-theme 'Adwaita'
gsettings set $gnome-schema font-name 'ibm-plex 12'
gsettings set org.gtk.Settings.FileChooser startup-mode cwd

View File

@ -4,7 +4,7 @@
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Adwaita'
gsettings set $gnome-schema icon-theme 'Papirus-Dark'
gsettings set $gnome-schema icon-theme 'Papirus-Light'
gsettings set $gnome-schema cursor-theme 'Adwaita'
gsettings set $gnome-schema font-name 'ibm-plex 12'
gsettings set org.gtk.Settings.FileChooser startup-mode cwd

View File

@ -18,9 +18,9 @@ sed -i $command ~/.config/kitty/kitty.conf
# more settings
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" &
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" &
fi
sway reload

View File

@ -1,4 +1,4 @@
@define-color background #fdf6e3;
@define-color background #f3efda;
@define-color selection_background #4a555b;
@define-color foreground #323d43;
@define-color blue #3a94c5;
@ -6,7 +6,7 @@
@define-color green #8da101;
@define-color magenta #df69ba;
@define-color red #f85552;
@define-color white #efead4;
@define-color white #fdf6e3;
@define-color yellow #dfa000;
@define-color background_b #525c62;

6
.zshrc
View File

@ -1,3 +1,4 @@
cat ~/.config/splash 2> /dev/null || true
echo
echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' 2> /dev/null < /etc/os-release || uname -o)
@ -37,13 +38,14 @@ autoload -Uz _zinit
# Load LS_COLORS if not present
test -n "$LS_COLORS" || eval $(dircolors) || echo 'Warning: Unable to set LS_COLORS'
# The following lines were added by compinstall
zstyle ':completion:*' auto-description '%F{green}Specify%f: %F{cyan}%d%f'
zstyle ':completion:*' completer _oldlist _expand _complete _ignored _match _correct _approximate _prefix
zstyle ':completion:*' completions 1
zstyle ':completion:*' expand prefix suffix
zstyle ':completion:*' file-sort access
zstyle ':completion:*' file-sort name
zstyle ':completion:*' format '%F{green}Completing%f %F{yellow}%d%f'
zstyle ':completion:*' glob 1
zstyle ':completion:*' group-name ''
@ -52,7 +54,7 @@ zstyle ':completion:*' insert-unambiguous true
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-prompt %S%F{green}At %p%f: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**'
zstyle ':completion:*' max-errors 8 numeric
zstyle ':completion:*' max-errors 16 numeric
zstyle ':completion:*' menu select=1
zstyle ':completion:*' original false
zstyle ':completion:*' preserve-prefix '//[^/]##/'