mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
Compare commits
2 Commits
24e2673bdf
...
2ed4ea6229
Author | SHA1 | Date | |
---|---|---|---|
|
2ed4ea6229 | ||
|
1908133afb |
@ -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/light.conf
|
include themes/dark.conf
|
||||||
|
@ -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
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# vim: filetype=i3config
|
# vim: filetype=i3config
|
||||||
|
|
||||||
# wallpaper
|
# 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
|
# laptop output mode
|
||||||
set $laptop eDP-1
|
set $laptop eDP-1
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# vim: filetype=i3config
|
# vim: filetype=i3config
|
||||||
|
|
||||||
include ~/.config/sway/config.d/themes/light
|
include ~/.config/sway/config.d/themes/dark
|
||||||
|
@ -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;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
min-height: 0;
|
min-height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "light.less";
|
@import "dark.less";
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: @background;
|
background: @background;
|
||||||
|
7
.zshrc
7
.zshrc
@ -37,13 +37,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 ''
|
||||||
@ -51,8 +52,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:|=**'
|
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* 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