1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00

Compare commits

..

2 Commits

Author SHA1 Message Date
juan
2ed4ea6229
Better zsh completion 2022-09-22 22:59:13 +08:00
juan
1908133afb
Better theming and color 2022-09-20 13:03:40 +08:00
10 changed files with 15 additions and 14 deletions

View File

@ -28,4 +28,4 @@ allow_remote_control yes
map kitty_mod+n new_os_window_with_cwd
include themes/light.conf
include themes/dark.conf

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

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

View File

@ -1,3 +1,3 @@
# vim: filetype=i3config
include ~/.config/sway/config.d/themes/light
include ~/.config/sway/config.d/themes/dark

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;

View File

@ -10,7 +10,7 @@
min-height: 0;
}
@import "light.less";
@import "dark.less";
window#waybar {
background: @background;

7
.zshrc
View File

@ -37,13 +37,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 ''
@ -51,8 +52,8 @@ zstyle ':completion:*' ignore-parents parent pwd ..
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:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
zstyle ':completion:*' max-errors 16 numeric
zstyle ':completion:*' menu select=1
zstyle ':completion:*' original false
zstyle ':completion:*' preserve-prefix '//[^/]##/'