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

Compare commits

..

No commits in common. "2ed4ea62291b9b82ca4616fbeb362935d5742fdf" and "24e2673bdf22cc093f9da51c13504803a8eca930" have entirely different histories.

10 changed files with 14 additions and 15 deletions

View File

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

View File

@ -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 #3a94c5 cursor #7fbbb3
# black # black
color0 #3c474d color0 #3c474d

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 ~/Pictures/Wallpapers/light -type f | shuf -n1) fill
# laptop output mode # laptop output mode
set $laptop eDP-1 set $laptop eDP-1

View File

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

View File

@ -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-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

View File

@ -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-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

View File

@ -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

View File

@ -1,4 +1,4 @@
@define-color background #f3efda; @define-color background #fdf6e3;
@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 #fdf6e3; @define-color white #efead4;
@define-color yellow #dfa000; @define-color yellow #dfa000;
@define-color background_b #525c62; @define-color background_b #525c62;

View File

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

7
.zshrc
View File

@ -37,14 +37,13 @@ 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 name zstyle ':completion:*' file-sort access
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,8 +51,8 @@ zstyle ':completion:*' ignore-parents parent pwd ..
zstyle ':completion:*' insert-unambiguous true 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:|=**' 'l:|=* r:|=*' zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**'
zstyle ':completion:*' max-errors 16 numeric zstyle ':completion:*' max-errors 8 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 '//[^/]##/'