mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-25 04:11:49 +08:00
Compare commits
2 Commits
7f19ec74fb
...
e7bc1ebc33
Author | SHA1 | Date | |
---|---|---|---|
|
e7bc1ebc33 | ||
|
c46f18d7cd |
@ -1,3 +1,16 @@
|
||||
include "/home/ryan/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Adwaita"
|
||||
gtk-icon-theme-name="Adwaita"
|
||||
gtk-theme-name = "Adwaita-dark"
|
||||
gtk-font-name = "IBM Plex 12"
|
||||
gtk-font-name="ibm-plex 12"
|
||||
gtk-cursor-theme-name="Adwaita"
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintmedium"
|
||||
gtk-xft-rgba="rgb"
|
||||
|
@ -1,3 +1,17 @@
|
||||
gtk-icon-theme-name = "Adwaita"
|
||||
|
||||
include "/home/ryan/.gtkrc-2.0.mine"
|
||||
gtk-theme-name="Adwaita"
|
||||
gtk-font-name = "IBM Plex 12"
|
||||
gtk-icon-theme-name="Adwaita"
|
||||
gtk-font-name="ibm-plex 12"
|
||||
gtk-cursor-theme-name="Adwaita"
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintmedium"
|
||||
gtk-xft-rgba="rgb"
|
||||
|
17
.config/gtk-3.0/dark.ini
Normal file
17
.config/gtk-3.0/dark.ini
Normal file
@ -0,0 +1,17 @@
|
||||
[Settings]
|
||||
gtk-theme-name=Adwaita
|
||||
gtk-icon-theme-name=Adwaita
|
||||
gtk-font-name=ibm-plex 12
|
||||
gtk-cursor-theme-name=Adwaita
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintmedium
|
||||
gtk-xft-rgba=rgb
|
||||
gtk-application-prefer-dark-theme=1
|
17
.config/gtk-3.0/light.ini
Normal file
17
.config/gtk-3.0/light.ini
Normal file
@ -0,0 +1,17 @@
|
||||
[Settings]
|
||||
gtk-theme-name=Adwaita
|
||||
gtk-icon-theme-name=Adwaita
|
||||
gtk-font-name=ibm-plex 12
|
||||
gtk-cursor-theme-name=Adwaita
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
|
||||
gtk-button-images=0
|
||||
gtk-menu-images=0
|
||||
gtk-enable-event-sounds=1
|
||||
gtk-enable-input-feedback-sounds=0
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintmedium
|
||||
gtk-xft-rgba=rgb
|
||||
gtk-application-prefer-dark-theme=0
|
@ -1,17 +1,17 @@
|
||||
[Appearance]
|
||||
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
||||
custom_palette=false
|
||||
icon_theme=Papirus-Dark
|
||||
icon_theme=Adwaita
|
||||
standard_dialogs=gtk3
|
||||
style=Adwaita-Dark
|
||||
|
||||
[Fonts]
|
||||
fixed=@Variant(\0\0\0@\0\0\0\x1a\0I\0\x42\0M\0 \0P\0l\0\x65\0x\0 \0M\0o\0n\0o@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
||||
general=@Variant(\0\0\0@\0\0\0\x1a\0I\0\x42\0M\0 \0P\0l\0\x65\0x\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
||||
fixed="IBM Plex Mono,12,-1,5,50,0,0,0,0,0"
|
||||
general="IBM Plex Sans,12,-1,5,50,0,0,0,0,0"
|
||||
|
||||
[Interface]
|
||||
activate_item_on_single_click=1
|
||||
buttonbox_layout=2
|
||||
buttonbox_layout=3
|
||||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=2
|
||||
double_click_interval=400
|
||||
@ -25,4 +25,4 @@ underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xfd\0\0\x6 \0\0\0\0\0\0\0\0\0\0\x4\xfd\0\0\x6 \0\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\xfd\0\0\x6 )
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\x1\xf4\0\0\t\xff\0\0\av\0\0\0\0\0\0\x1\xf4\0\0\x4\xfd\0\0\b\x14\0\0\0\0\x2\0\0\0\n\0\0\0\0\0\0\0\x1\xf4\0\0\t\xff\0\0\av)
|
||||
|
@ -1,17 +1,17 @@
|
||||
[Appearance]
|
||||
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
||||
custom_palette=false
|
||||
icon_theme=Papirus
|
||||
icon_theme=Adwaita
|
||||
standard_dialogs=gtk3
|
||||
style=Adwaita
|
||||
|
||||
[Fonts]
|
||||
fixed=@Variant(\0\0\0@\0\0\0\x1a\0I\0\x42\0M\0 \0P\0l\0\x65\0x\0 \0M\0o\0n\0o@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
||||
general=@Variant(\0\0\0@\0\0\0\x1a\0I\0\x42\0M\0 \0P\0l\0\x65\0x\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
||||
fixed="IBM Plex Mono,12,-1,5,50,0,0,0,0,0"
|
||||
general="IBM Plex Sans,12,-1,5,50,0,0,0,0,0"
|
||||
|
||||
[Interface]
|
||||
activate_item_on_single_click=1
|
||||
buttonbox_layout=2
|
||||
buttonbox_layout=3
|
||||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=2
|
||||
double_click_interval=400
|
||||
@ -25,4 +25,4 @@ underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x6\"\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x6\"\0\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x6\")
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\x1\xf4\0\0\t\xff\0\0\av\0\0\0\0\0\0\x1\xf4\0\0\x4\xfd\0\0\b\x14\0\0\0\0\x2\0\0\0\n\0\0\0\0\0\0\0\x1\xf4\0\0\t\xff\0\0\av)
|
||||
|
@ -1,32 +0,0 @@
|
||||
[Appearance]
|
||||
color_scheme_path=/usr/share/qt6ct/colors/airy.conf
|
||||
custom_palette=false
|
||||
icon_theme=Papirus-Dark
|
||||
standard_dialogs=gtk3
|
||||
style=Adwaita-Dark
|
||||
|
||||
[Fonts]
|
||||
fixed="IBM Plex Mono,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
||||
general="IBM Plex Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
||||
|
||||
[Interface]
|
||||
activate_item_on_single_click=1
|
||||
buttonbox_layout=2
|
||||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=2
|
||||
double_click_interval=400
|
||||
gui_effects=@Invalid()
|
||||
keyboard_scheme=2
|
||||
menus_have_icons=true
|
||||
show_shortcuts_in_context_menus=true
|
||||
stylesheets=@Invalid()
|
||||
toolbutton_style=4
|
||||
underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xfd\0\0\x6 \0\0\0\0\0\0\0\0\0\0\x4\xfd\0\0\x6 \0\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\x4\xfd\0\0\x6 )
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
ignored_applications=@Invalid()
|
@ -1,32 +0,0 @@
|
||||
[Appearance]
|
||||
color_scheme_path=/usr/share/qt6ct/colors/airy.conf
|
||||
custom_palette=false
|
||||
icon_theme=Papirus
|
||||
standard_dialogs=gtk3
|
||||
style=Adwaita
|
||||
|
||||
[Fonts]
|
||||
fixed="IBM Plex Mono,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
||||
general="IBM Plex Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
||||
|
||||
[Interface]
|
||||
activate_item_on_single_click=1
|
||||
buttonbox_layout=2
|
||||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=2
|
||||
double_click_interval=400
|
||||
gui_effects=@Invalid()
|
||||
keyboard_scheme=2
|
||||
menus_have_icons=true
|
||||
show_shortcuts_in_context_menus=true
|
||||
stylesheets=@Invalid()
|
||||
toolbutton_style=4
|
||||
underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x6\"\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x6\"\0\0\0\0\0\0\0\0\n\0\0\0\0\0\0\0\0\0\0\0\t\xff\0\0\x6\")
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
ignored_applications=@Invalid()
|
@ -15,7 +15,7 @@ choice=$(printf "%s\n" "${choices[@]}" | wofi -d --prompt " Choose power opt
|
||||
if test "$choice" = lock ; then
|
||||
# sleep less when power on
|
||||
if acpi -a | grep -q on; then
|
||||
sleep_time=3600
|
||||
sleep_time=3600000
|
||||
else
|
||||
sleep_time=10
|
||||
fi
|
||||
|
@ -23,28 +23,26 @@ if [ $scheme = "light" ]; then
|
||||
# kitty config
|
||||
kitty -1 sh -c "kitty @ set-colors -a -c ~/.config/kitty/themes/light.conf" &
|
||||
# zathura
|
||||
mv ~/.config/zathura/zathurarc.light ~/.config/zathura/zathurarc
|
||||
cp ~/.config/zathura/zathurarc.light ~/.config/zathura/zathurarc
|
||||
# qt5ct and qt6ct
|
||||
cp ~/.config/qt5ct/light.conf ~/.config/qt5ct/qt5ct.conf
|
||||
cp ~/.config/qt6ct/light.conf ~/.config/qt6ct/qt6ct.conf
|
||||
# gtk2
|
||||
cp ~/.config/gtk-2.0/light.conf ~/.gtkrc-2.0
|
||||
# set wallpaper location
|
||||
# unlink ~/.config/sway/Wallpaper
|
||||
# ln -s ~/Pictures/wall/sway/light ~/.config/sway/Wallpaper
|
||||
# gtk3
|
||||
cp ~/.config/gtk-3.0/light.ini ~/.config/gtk-3.0/settings.ini
|
||||
else
|
||||
# kitty config
|
||||
kitty -1 sh -c "kitty @ set-colors -a -c ~/.config/kitty/themes/dark.conf" &
|
||||
# zathura
|
||||
mv ~/.config/zathura/zathurarc.dark ~/.config/zathura/zathurarc
|
||||
cp ~/.config/zathura/zathurarc.dark ~/.config/zathura/zathurarc
|
||||
# qt5ct and qt6ct
|
||||
cp ~/.config/qt5ct/dark.conf ~/.config/qt5ct/qt5ct.conf
|
||||
cp ~/.config/qt6ct/dark.conf ~/.config/qt6ct/qt6ct.conf
|
||||
# gtk2
|
||||
cp ~/.config/gtk-2.0/dark.conf ~/.gtkrc-2.0
|
||||
# set dark wallpaper
|
||||
# unlink ~/.config/sway/Wallpaper
|
||||
# ln -s ~/Pictures/wall/sway/dark ~/.config/sway/Wallpaper
|
||||
# gtk3
|
||||
cp ~/.config/gtk-3.0/dark.ini ~/.config/gtk-3.0/settings.ini
|
||||
fi
|
||||
|
||||
swaymsg reload
|
||||
|
40
.config/zathura/zathurarc.dark
Normal file
40
.config/zathura/zathurarc.dark
Normal file
@ -0,0 +1,40 @@
|
||||
set notification-error-bg "#282828" # bg
|
||||
set notification-error-fg "#fb4934" # bright:red
|
||||
set notification-warning-bg "#282828" # bg
|
||||
set notification-warning-fg "#fabd2f" # bright:yellow
|
||||
set notification-bg "#282828" # bg
|
||||
set notification-fg "#b8bb26" # bright:green
|
||||
|
||||
set completion-bg "#504945" # bg2
|
||||
set completion-fg "#ebdbb2" # fg
|
||||
set completion-group-bg "#3c3836" # bg1
|
||||
set completion-group-fg "#928374" # gray
|
||||
set completion-highlight-bg "#83a598" # bright:blue
|
||||
set completion-highlight-fg "#504945" # bg2
|
||||
|
||||
# Define the color in index mode
|
||||
set index-bg "#504945" # bg2
|
||||
set index-fg "#ebdbb2" # fg
|
||||
set index-active-bg "#83a598" # bright:blue
|
||||
set index-active-fg "#504945" # bg2
|
||||
|
||||
set inputbar-bg "#282828" # bg
|
||||
set inputbar-fg "#ebdbb2" # fg
|
||||
|
||||
set statusbar-bg "#504945" # bg2
|
||||
set statusbar-fg "#ebdbb2" # fg
|
||||
|
||||
set highlight-color "#fabd2f" # bright:yellow
|
||||
set highlight-active-color "#fe8019" # bright:orange
|
||||
|
||||
set default-bg "#282828" # bg
|
||||
set default-fg "#ebdbb2" # fg
|
||||
set render-loading true
|
||||
set render-loading-bg "#282828" # bg
|
||||
set render-loading-fg "#ebdbb2" # fg
|
||||
|
||||
# Recolor book content's color
|
||||
set recolor-lightcolor "#282828" # bg
|
||||
set recolor-darkcolor "#ebdbb2" # fg
|
||||
set recolor "true"
|
||||
# set recolor-keephue true # keep original color
|
5
.zshrc
5
.zshrc
@ -42,9 +42,8 @@ if ! command -v bat &> /dev/null ; then
|
||||
zinit light sharkdp/bat
|
||||
fi
|
||||
|
||||
zinit from"gh-r" as"program" mv"direnv* -> direnv" \
|
||||
atclone'./direnv hook zsh > zhook.zsh' atpull'%atclone' \
|
||||
pick"direnv" src="zhook.zsh" for \
|
||||
zinit as"program" make'!' atclone'./direnv hook zsh > zhook.zsh' \
|
||||
atpull'%atclone' pick"direnv" src"zhook.zsh" for \
|
||||
direnv/direnv
|
||||
|
||||
autoload -Uz _zinit
|
||||
|
Loading…
Reference in New Issue
Block a user