mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-23 03:11:49 +08:00
Compare commits
No commits in common. "e7bc1ebc33dfc8b029faf0771bce7f6a6932c04e" and "7f19ec74fb39a17f616523cfcc031676d4405d29" have entirely different histories.
e7bc1ebc33
...
7f19ec74fb
@ -1,16 +1,3 @@
|
|||||||
include "/home/ryan/.gtkrc-2.0.mine"
|
|
||||||
gtk-theme-name="Adwaita"
|
|
||||||
gtk-icon-theme-name = "Adwaita"
|
gtk-icon-theme-name = "Adwaita"
|
||||||
gtk-font-name="ibm-plex 12"
|
gtk-theme-name = "Adwaita-dark"
|
||||||
gtk-cursor-theme-name="Adwaita"
|
gtk-font-name = "IBM Plex 12"
|
||||||
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,17 +1,3 @@
|
|||||||
|
|
||||||
include "/home/ryan/.gtkrc-2.0.mine"
|
|
||||||
gtk-theme-name="Adwaita"
|
|
||||||
gtk-icon-theme-name = "Adwaita"
|
gtk-icon-theme-name = "Adwaita"
|
||||||
gtk-font-name="ibm-plex 12"
|
gtk-theme-name = "Adwaita"
|
||||||
gtk-cursor-theme-name="Adwaita"
|
gtk-font-name = "IBM Plex 12"
|
||||||
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,17 +0,0 @@
|
|||||||
[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
|
|
@ -1,17 +0,0 @@
|
|||||||
[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]
|
[Appearance]
|
||||||
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
||||||
custom_palette=false
|
custom_palette=false
|
||||||
icon_theme=Adwaita
|
icon_theme=Papirus-Dark
|
||||||
standard_dialogs=gtk3
|
standard_dialogs=gtk3
|
||||||
style=Adwaita-Dark
|
style=Adwaita-Dark
|
||||||
|
|
||||||
[Fonts]
|
[Fonts]
|
||||||
fixed="IBM Plex Mono,12,-1,5,50,0,0,0,0,0"
|
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="IBM Plex Sans,12,-1,5,50,0,0,0,0,0"
|
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)
|
||||||
|
|
||||||
[Interface]
|
[Interface]
|
||||||
activate_item_on_single_click=1
|
activate_item_on_single_click=1
|
||||||
buttonbox_layout=3
|
buttonbox_layout=2
|
||||||
cursor_flash_time=1000
|
cursor_flash_time=1000
|
||||||
dialog_buttons_have_icons=2
|
dialog_buttons_have_icons=2
|
||||||
double_click_interval=400
|
double_click_interval=400
|
||||||
@ -25,4 +25,4 @@ underline_shortcut=1
|
|||||||
wheel_scroll_lines=3
|
wheel_scroll_lines=3
|
||||||
|
|
||||||
[SettingsWindow]
|
[SettingsWindow]
|
||||||
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)
|
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 )
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
[Appearance]
|
[Appearance]
|
||||||
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
||||||
custom_palette=false
|
custom_palette=false
|
||||||
icon_theme=Adwaita
|
icon_theme=Papirus
|
||||||
standard_dialogs=gtk3
|
standard_dialogs=gtk3
|
||||||
style=Adwaita
|
style=Adwaita
|
||||||
|
|
||||||
[Fonts]
|
[Fonts]
|
||||||
fixed="IBM Plex Mono,12,-1,5,50,0,0,0,0,0"
|
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="IBM Plex Sans,12,-1,5,50,0,0,0,0,0"
|
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)
|
||||||
|
|
||||||
[Interface]
|
[Interface]
|
||||||
activate_item_on_single_click=1
|
activate_item_on_single_click=1
|
||||||
buttonbox_layout=3
|
buttonbox_layout=2
|
||||||
cursor_flash_time=1000
|
cursor_flash_time=1000
|
||||||
dialog_buttons_have_icons=2
|
dialog_buttons_have_icons=2
|
||||||
double_click_interval=400
|
double_click_interval=400
|
||||||
@ -25,4 +25,4 @@ underline_shortcut=1
|
|||||||
wheel_scroll_lines=3
|
wheel_scroll_lines=3
|
||||||
|
|
||||||
[SettingsWindow]
|
[SettingsWindow]
|
||||||
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)
|
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\")
|
||||||
|
32
.config/qt6ct/dark.conf
Normal file
32
.config/qt6ct/dark.conf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
[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()
|
32
.config/qt6ct/light.conf
Normal file
32
.config/qt6ct/light.conf
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
[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
|
if test "$choice" = lock ; then
|
||||||
# sleep less when power on
|
# sleep less when power on
|
||||||
if acpi -a | grep -q on; then
|
if acpi -a | grep -q on; then
|
||||||
sleep_time=3600000
|
sleep_time=3600
|
||||||
else
|
else
|
||||||
sleep_time=10
|
sleep_time=10
|
||||||
fi
|
fi
|
||||||
|
@ -23,26 +23,28 @@ if [ $scheme = "light" ]; then
|
|||||||
# kitty config
|
# kitty config
|
||||||
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" &
|
||||||
# zathura
|
# zathura
|
||||||
cp ~/.config/zathura/zathurarc.light ~/.config/zathura/zathurarc
|
mv ~/.config/zathura/zathurarc.light ~/.config/zathura/zathurarc
|
||||||
# qt5ct and qt6ct
|
# qt5ct and qt6ct
|
||||||
cp ~/.config/qt5ct/light.conf ~/.config/qt5ct/qt5ct.conf
|
cp ~/.config/qt5ct/light.conf ~/.config/qt5ct/qt5ct.conf
|
||||||
cp ~/.config/qt6ct/light.conf ~/.config/qt6ct/qt6ct.conf
|
cp ~/.config/qt6ct/light.conf ~/.config/qt6ct/qt6ct.conf
|
||||||
# gtk2
|
# gtk2
|
||||||
cp ~/.config/gtk-2.0/light.conf ~/.gtkrc-2.0
|
cp ~/.config/gtk-2.0/light.conf ~/.gtkrc-2.0
|
||||||
# gtk3
|
# set wallpaper location
|
||||||
cp ~/.config/gtk-3.0/light.ini ~/.config/gtk-3.0/settings.ini
|
# unlink ~/.config/sway/Wallpaper
|
||||||
|
# ln -s ~/Pictures/wall/sway/light ~/.config/sway/Wallpaper
|
||||||
else
|
else
|
||||||
# kitty config
|
# kitty config
|
||||||
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" &
|
||||||
# zathura
|
# zathura
|
||||||
cp ~/.config/zathura/zathurarc.dark ~/.config/zathura/zathurarc
|
mv ~/.config/zathura/zathurarc.dark ~/.config/zathura/zathurarc
|
||||||
# qt5ct and qt6ct
|
# qt5ct and qt6ct
|
||||||
cp ~/.config/qt5ct/dark.conf ~/.config/qt5ct/qt5ct.conf
|
cp ~/.config/qt5ct/dark.conf ~/.config/qt5ct/qt5ct.conf
|
||||||
cp ~/.config/qt6ct/dark.conf ~/.config/qt6ct/qt6ct.conf
|
cp ~/.config/qt6ct/dark.conf ~/.config/qt6ct/qt6ct.conf
|
||||||
# gtk2
|
# gtk2
|
||||||
cp ~/.config/gtk-2.0/dark.conf ~/.gtkrc-2.0
|
cp ~/.config/gtk-2.0/dark.conf ~/.gtkrc-2.0
|
||||||
# gtk3
|
# set dark wallpaper
|
||||||
cp ~/.config/gtk-3.0/dark.ini ~/.config/gtk-3.0/settings.ini
|
# unlink ~/.config/sway/Wallpaper
|
||||||
|
# ln -s ~/Pictures/wall/sway/dark ~/.config/sway/Wallpaper
|
||||||
fi
|
fi
|
||||||
|
|
||||||
swaymsg reload
|
swaymsg reload
|
||||||
|
@ -1,40 +0,0 @@
|
|||||||
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,8 +42,9 @@ if ! command -v bat &> /dev/null ; then
|
|||||||
zinit light sharkdp/bat
|
zinit light sharkdp/bat
|
||||||
fi
|
fi
|
||||||
|
|
||||||
zinit as"program" make'!' atclone'./direnv hook zsh > zhook.zsh' \
|
zinit from"gh-r" as"program" mv"direnv* -> direnv" \
|
||||||
atpull'%atclone' pick"direnv" src"zhook.zsh" for \
|
atclone'./direnv hook zsh > zhook.zsh' atpull'%atclone' \
|
||||||
|
pick"direnv" src="zhook.zsh" for \
|
||||||
direnv/direnv
|
direnv/direnv
|
||||||
|
|
||||||
autoload -Uz _zinit
|
autoload -Uz _zinit
|
||||||
|
Loading…
Reference in New Issue
Block a user