mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-28 13:51:49 +08:00
Compare commits
No commits in common. "d472984aa04d0db0c29f7f6b42cde565be1310e1" and "b69a911cb1524ac695d53e518b2b86d27d7c53cc" have entirely different histories.
d472984aa0
...
b69a911cb1
@ -1,2 +0,0 @@
|
|||||||
gtk-icon-theme-name = "Papirus-Dark"
|
|
||||||
gtk-theme-name = "Adwaita-dark"
|
|
@ -1,2 +0,0 @@
|
|||||||
gtk-icon-theme-name = "Papirus-Light"
|
|
||||||
gtk-theme-name = "Adwaita"
|
|
@ -1,3 +1,4 @@
|
|||||||
|
# vim:ft=kitty
|
||||||
## name: Gruvbox Material Light Medium
|
## name: Gruvbox Material Light Medium
|
||||||
## author: Sainnhe Park
|
## author: Sainnhe Park
|
||||||
## license: MIT
|
## license: MIT
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
[Appearance]
|
|
||||||
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
|
||||||
custom_palette=false
|
|
||||||
icon_theme=Papirus-Dark
|
|
||||||
standard_dialogs=gtk3
|
|
||||||
style=Adwaita-Dark
|
|
||||||
|
|
||||||
[Fonts]
|
|
||||||
fixed=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
|
||||||
general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
|
||||||
|
|
||||||
[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 )
|
|
@ -1,28 +0,0 @@
|
|||||||
[Appearance]
|
|
||||||
color_scheme_path=/usr/share/qt5ct/colors/airy.conf
|
|
||||||
custom_palette=false
|
|
||||||
icon_theme=Papirus
|
|
||||||
standard_dialogs=gtk3
|
|
||||||
style=Adwaita
|
|
||||||
|
|
||||||
[Fonts]
|
|
||||||
fixed=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
|
||||||
general=@Variant(\0\0\0@\0\0\0\x12\0N\0o\0t\0o\0 \0S\0\x61\0n\0s@(\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
|
|
||||||
|
|
||||||
[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\")
|
|
@ -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="Noto Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
|
||||||
general="Noto 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="Noto Sans,12,-1,5,400,0,0,0,0,0,0,0,0,0,0,1"
|
|
||||||
general="Noto 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()
|
|
@ -3,7 +3,7 @@
|
|||||||
##starting userspace software
|
##starting userspace software
|
||||||
# exec_always sh -c ~/.config/sway/scripts/update-wallpaper.sh
|
# exec_always sh -c ~/.config/sway/scripts/update-wallpaper.sh
|
||||||
exec mkfifo /tmp/kitty
|
exec mkfifo /tmp/kitty
|
||||||
exec wlsunset -s 19:00 -S 07:00
|
exec wlsunset -l 30.4 -L 104.0 -T 6500 -t 3500
|
||||||
exec light -S 70
|
exec light -S 70
|
||||||
# exec gentoo-pipewire-launcher
|
# exec gentoo-pipewire-launcher
|
||||||
exec swaync
|
exec swaync
|
||||||
|
@ -36,8 +36,8 @@ bindsym --whole-window $mod+button9 workspace next
|
|||||||
# bind fn keys
|
# bind fn keys
|
||||||
bindsym XF86AudioMicMute exec amixer set Capture toggle
|
bindsym XF86AudioMicMute exec amixer set Capture toggle
|
||||||
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
exec mkfifo $SWAYSOCK.wob && tail -f $SWAYSOCK.wob | wob
|
||||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +3% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -3% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $SWAYSOCK.wob
|
||||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && ~/.config/sway/scripts/getmute.sh > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
choice=`echo -e "suspend\nshutdown\npoweroff\nreboot\nlock" | wofi -d --prompt " Choose power option" -Oalphabetical`
|
choice=`echo -e "suspend\nshutdown\npoweroff\nreboot\nlock\nhibernate" | wofi -d -Oalphabetical`
|
||||||
if test "$choice" = lock ; then
|
if test "$choice" = lock ; then
|
||||||
bright=`light`
|
bright=`light`
|
||||||
swayidle -w \
|
swayidle -w \
|
||||||
timeout 5 "light -S 1" resume "light -S $bright" \
|
timeout 5 "light -S 1" resume "light -S $bright" \
|
||||||
timeout 10 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
timeout 10 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
&
|
&
|
||||||
idlepid=$!
|
idlepid=$!
|
||||||
swaylock -e -c 282828 --inside-color 00000003
|
swaylock -e -c 282828 --inside-color 00000003
|
||||||
kill $idlepid
|
kill $idlepid
|
||||||
swaymsg "output * power on"
|
swaymsg "output * dpms on"
|
||||||
light -S $bright
|
light -S $bright
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
scheme=$(echo -e "light\ndark" | wofi -d -p " Select color scheme")
|
scheme=$(echo -e "light\ndark" | wofi -d -p "Select color scheme")
|
||||||
|
|
||||||
# simply subsitude dark and light
|
# simply subsitude dark and light
|
||||||
if [ $scheme = "light" ]; then
|
if [ $scheme = "light" ]; then
|
||||||
notify-send "Toggling light color scheme"
|
notify-send "Toggling light color scheme"
|
||||||
command="s/dark/light/"
|
command="s/dark/light/"
|
||||||
elif [ $scheme = "dark" ]; then
|
elif [ $scheme = "dark" ]; then
|
||||||
notify-send "Toggling dark color scheme"
|
notify-send "Toggling dark color scheme"
|
||||||
command="s/light/dark/"
|
command="s/light/dark/"
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i $command ~/.config/kitty/kitty.conf
|
sed -i $command ~/.config/kitty/kitty.conf
|
||||||
@ -21,31 +21,19 @@ swaync-client -rs &
|
|||||||
|
|
||||||
# more settings
|
# more settings
|
||||||
if [ $scheme = "light" ]; then
|
if [ $scheme = "light" ]; then
|
||||||
# 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" &
|
mv ~/.config/zathura/zathurarc.light ~/.config/zathura/zathurarc
|
||||||
# zathura
|
|
||||||
mv ~/.config/zathura/zathurarc.light ~/.config/zathura/zathurarc
|
# set wallpaper location
|
||||||
# qt5ct and qt6ct
|
unlink ~/.config/sway/Wallpaper
|
||||||
cp ~/.config/qt5ct/light.conf ~/.config/qt5ct/qt5ct.conf
|
ln -s ~/Pictures/wall/sway/light ~/.config/sway/Wallpaper
|
||||||
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
|
|
||||||
else
|
else
|
||||||
# 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" &
|
mv ~/.config/zathura/zathurarc.dark ~/.config/zathura/zathurarc
|
||||||
# zathura
|
|
||||||
mv ~/.config/zathura/zathurarc.dark ~/.config/zathura/zathurarc
|
# set dark wallpaper
|
||||||
# qt5ct and qt6ct
|
unlink ~/.config/sway/Wallpaper
|
||||||
cp ~/.config/qt5ct/dark.conf ~/.config/qt5ct/qt5ct.conf
|
ln -s ~/Pictures/wall/sway/dark ~/.config/sway/Wallpaper
|
||||||
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
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sway reload
|
sway reload
|
||||||
|
@ -11,9 +11,15 @@
|
|||||||
"timeout-critical": 0,
|
"timeout-critical": 0,
|
||||||
"notification-window-width": 512,
|
"notification-window-width": 512,
|
||||||
"keyboard-shortcuts": true,
|
"keyboard-shortcuts": true,
|
||||||
"image-visibility": "when-available",
|
"image-visibility": "always",
|
||||||
|
"transition-time": 200,
|
||||||
"hide-on-clear": true,
|
"hide-on-clear": true,
|
||||||
"hide-on-action": true,
|
"hide-on-action": true,
|
||||||
"script-fail-notify": true,
|
"script-fail-notify": true,
|
||||||
"widgets": ["title", "dnd", "mpris"]
|
"scripts": {
|
||||||
|
"example-script": {
|
||||||
|
"exec": "echo 'Do something...'",
|
||||||
|
"urgency": "Normal"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,14 +4,9 @@
|
|||||||
|
|
||||||
@import "dark.less";
|
@import "dark.less";
|
||||||
|
|
||||||
* {
|
|
||||||
color: @fg;
|
|
||||||
text-shadow: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.notification-row {
|
.notification-row {
|
||||||
outline: none;
|
outline: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
.notification-row:focus,
|
.notification-row:focus,
|
||||||
.notification-row:hover {
|
.notification-row:hover {
|
||||||
@ -21,7 +16,7 @@
|
|||||||
.notification {
|
.notification {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
margin: 6px 12px;
|
margin: 6px 12px;
|
||||||
box-shadow: 0px 0px 4px 2px rgba(0, 0, 0, 0.3);
|
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.3);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -105,6 +100,11 @@
|
|||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.top-action-title {
|
||||||
|
color: @fg;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
.control-center-clear-all {
|
.control-center-clear-all {
|
||||||
color: @warning;
|
color: @warning;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
@ -135,13 +135,13 @@
|
|||||||
|
|
||||||
.control-center {
|
.control-center {
|
||||||
background: @bg-trans;
|
background: @bg-trans;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: 1px solid @border-color;
|
border: 1px solid @border-color;
|
||||||
}
|
}
|
||||||
.control-center-list {
|
.control-center-list {
|
||||||
background: @bg-trans;
|
background: @bg-trans;
|
||||||
border: 1px @border-color;
|
border: 1px @border-color;
|
||||||
border-style: dashed solid hidden solid;
|
border-style: dashed solid hidden solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
.floating-notifications {
|
.floating-notifications {
|
||||||
|
@ -45,7 +45,7 @@ window#waybar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
color: @cyan;
|
color: @magenta;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
|
Loading…
Reference in New Issue
Block a user