mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-01 08:31:50 +08:00
Better theming and color
This commit is contained in:
parent
24e2673bdf
commit
1908133afb
@ -4,7 +4,7 @@ background #fdf6e3
|
|||||||
selection_foreground #e4e1cd
|
selection_foreground #e4e1cd
|
||||||
selection_background #d3dbc8
|
selection_background #d3dbc8
|
||||||
url_color #415c6d
|
url_color #415c6d
|
||||||
cursor #7fbbb3
|
cursor #3a94c5
|
||||||
|
|
||||||
# black
|
# black
|
||||||
color0 #3c474d
|
color0 #3c474d
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
set $gnome-schema org.gnome.desktop.interface
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
exec_always {
|
exec_always {
|
||||||
gsettings set $gnome-schema gtk-theme 'Adwaita-dark'
|
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 cursor-theme 'Adwaita'
|
||||||
gsettings set $gnome-schema font-name 'ibm-plex 12'
|
gsettings set $gnome-schema font-name 'ibm-plex 12'
|
||||||
gsettings set org.gtk.Settings.FileChooser startup-mode cwd
|
gsettings set org.gtk.Settings.FileChooser startup-mode cwd
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
set $gnome-schema org.gnome.desktop.interface
|
set $gnome-schema org.gnome.desktop.interface
|
||||||
exec_always {
|
exec_always {
|
||||||
gsettings set $gnome-schema gtk-theme 'Adwaita'
|
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 cursor-theme 'Adwaita'
|
||||||
gsettings set $gnome-schema font-name 'ibm-plex 12'
|
gsettings set $gnome-schema font-name 'ibm-plex 12'
|
||||||
gsettings set org.gtk.Settings.FileChooser startup-mode cwd
|
gsettings set org.gtk.Settings.FileChooser startup-mode cwd
|
||||||
|
@ -18,9 +18,9 @@ sed -i $command ~/.config/kitty/kitty.conf
|
|||||||
|
|
||||||
# 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" &
|
||||||
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" &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sway reload
|
sway reload
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@define-color background #fdf6e3;
|
@define-color background #f3efda;
|
||||||
@define-color selection_background #4a555b;
|
@define-color selection_background #4a555b;
|
||||||
@define-color foreground #323d43;
|
@define-color foreground #323d43;
|
||||||
@define-color blue #3a94c5;
|
@define-color blue #3a94c5;
|
||||||
@ -6,7 +6,7 @@
|
|||||||
@define-color green #8da101;
|
@define-color green #8da101;
|
||||||
@define-color magenta #df69ba;
|
@define-color magenta #df69ba;
|
||||||
@define-color red #f85552;
|
@define-color red #f85552;
|
||||||
@define-color white #efead4;
|
@define-color white #fdf6e3;
|
||||||
@define-color yellow #dfa000;
|
@define-color yellow #dfa000;
|
||||||
|
|
||||||
@define-color background_b #525c62;
|
@define-color background_b #525c62;
|
||||||
|
6
.zshrc
6
.zshrc
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
cat ~/.config/splash 2> /dev/null || true
|
cat ~/.config/splash 2> /dev/null || true
|
||||||
echo
|
echo
|
||||||
echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' 2> /dev/null < /etc/os-release || uname -o)
|
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
|
# Load LS_COLORS if not present
|
||||||
test -n "$LS_COLORS" || eval $(dircolors) || echo 'Warning: Unable to set LS_COLORS'
|
test -n "$LS_COLORS" || eval $(dircolors) || echo 'Warning: Unable to set LS_COLORS'
|
||||||
|
|
||||||
|
|
||||||
# The following lines were added by compinstall
|
# The following lines were added by compinstall
|
||||||
|
|
||||||
zstyle ':completion:*' auto-description '%F{green}Specify%f: %F{cyan}%d%f'
|
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:*' completer _oldlist _expand _complete _ignored _match _correct _approximate _prefix
|
||||||
zstyle ':completion:*' completions 1
|
zstyle ':completion:*' completions 1
|
||||||
zstyle ':completion:*' expand prefix suffix
|
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:*' format '%F{green}Completing%f %F{yellow}%d%f'
|
||||||
zstyle ':completion:*' glob 1
|
zstyle ':completion:*' glob 1
|
||||||
zstyle ':completion:*' group-name ''
|
zstyle ':completion:*' group-name ''
|
||||||
@ -52,7 +54,7 @@ zstyle ':completion:*' insert-unambiguous true
|
|||||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
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:*' 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:*' 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:*' menu select=1
|
||||||
zstyle ':completion:*' original false
|
zstyle ':completion:*' original false
|
||||||
zstyle ':completion:*' preserve-prefix '//[^/]##/'
|
zstyle ':completion:*' preserve-prefix '//[^/]##/'
|
||||||
|
Loading…
Reference in New Issue
Block a user