1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-22 10:51:49 +08:00
This commit is contained in:
Ryan 2023-12-02 18:55:00 +08:00
parent 4906475570
commit 15ee8a7070
11 changed files with 64 additions and 12 deletions

View File

@ -7,11 +7,10 @@ env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1 env = WLR_NO_HARDWARE_CURSORS,1
# Execute your favorite apps at launch # Execute your favorite apps at launch
exec=pidof hyprpaper || hyprpaper exec=pidof -q hyprpaper || hyprpaper
exec=pidof wlsunset || wlsunset -S 08:00 -s 19:00 exec=pidof -q wlsunset || wlsunset -S 08:00 -s 19:00
exec=pidof waybar || waybar exec=pidof -q waybar || waybar
exec=~/.config/hypr/scripts/clamshell.sh exec=~/.config/hypr/scripts/clamshell.sh
exec-once=fcitx5 -d exec-once=fcitx5 -d
# ssh agent env = SSH_AUTH_SOCK,$XDG_RUNTIME_DIR/ssh-agent.socket
env = SSH_AUTH_SOCK,"${XDG_RUNTIME_DIR}/ssh-agent.socket"

View File

@ -22,10 +22,14 @@ bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d bind = $mainMod, j, movefocus, d
# Move windows with hjkl # Move windows with hjkl
bind = $mainMod + SHIFT, h, movewindow, l bind = $mainMod + SHIFT, h, swapwindow, l
bind = $mainMod + SHIFT, l, movewindow, r bind = $mainMod + SHIFT, l, swapwindow, r
bind = $mainMod + SHIFT, k, movewindow, u bind = $mainMod + SHIFT, k, swapwindow, u
bind = $mainMod + SHIFT, j, movewindow, d bind = $mainMod + SHIFT, j, swapwindow, d
# Grouping
bind = $mainMod, t, togglegroup
bind = $mainMod, TAB, changegroupactive
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1

View File

@ -22,8 +22,7 @@ decoration {
} }
animations { animations {
enabled = yes enabled = false
animation=specialWorkspace,1,4,default,slidefadevert
} }
dwindle { dwindle {

@ -0,0 +1 @@
Subproject commit 4db9b1f37a5f429aa5d103143176ba2f5dd20f16

1
.config/sway/Wallpaper Symbolic link
View File

@ -0,0 +1 @@
/home/ryan/Pictures/wall/sway/dark

View File

@ -3,3 +3,5 @@ include ~/.config/sway/config.d/theme
include ~/.config/sway/config.d/keybinds include ~/.config/sway/config.d/keybinds
include ~/.config/sway/config.d/custom include ~/.config/sway/config.d/custom
include ~/.config/sway/config.d/exec include ~/.config/sway/config.d/exec
exec kitty

View File

@ -0,0 +1,4 @@
# vim: filetype=swayconfig
include /etc/sway/config.d/*
exec /usr/libexec/polkit-gnome-authentication-agent-1

View File

@ -0,0 +1,14 @@
# vim: filetype=swayconfig
input type:mouse {
accel_profile flat
pointer_accel -0.3
}
input type:touchpad {
accel_profile adaptive
natural_scroll enabled
tap enabled
dwt enabled
# events disabled_on_external_mouse
}

View File

@ -0,0 +1,24 @@
# 75hz monitor
output 'Lectron Company Ltd LECOO M2412HL GG30A137' mode 2560x1440@74.968Hz
output 'Lectron Company Ltd LECOO M2412HL GG30A137' subpixel rgb
# output 'Lectron Company Ltd LECOO M2412HL GG30A137' max_render_time 5
# output 'Lectron Company Ltd LECOO M2412HL GG30A137' render_bit_depth 10
output * adaptive_sync on
# laptop screen
output 'Thermotrex Corporation TL160ADMP03-0 Unknown' subpixel rgb
# output 'Thermotrex Corporation TL160ADMP03-0 Unknown' mode 2560x1600@60.000Hz
# output 'Thermotrex Corporation TL160ADMP03-0 Unknown' max_render_time 5
output 'Thermotrex Corporation TL160ADMP03-0 Unknown' mode 2560x1600@240.000Hz
output 'Thermotrex Corporation TL160ADMP03-0 Unknown' max_render_time 8
# output 'Thermotrex Corporation TL160ADMP03-0 Unknown' render_bit_depth 10
# TV at home
output 'Unknown HUAWEI INC 0x00000000' mode 3840x2160@60.000Hz
output 'Unknown HUAWEI INC 0x00000000' scale 2
# lab screen
output "XMI Redmi 27 NU 3948622WH08F4" transform 90
# output "XMI Redmi 27 NU 3948622WH08F4" max_render_time 5
# output "XMI Redmi 27 NU 3948622WH08F4" subpixel rgb

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule ".config/mpv/default-shader-pack"] [submodule ".config/mpv/default-shader-pack"]
path = .config/mpv/default-shader-pack path = .config/mpv/default-shader-pack
url = https://github.com/iwalton3/default-shader-pack.git url = https://github.com/iwalton3/default-shader-pack.git
[submodule ".config/hypr/plugins/hy3"]
path = .config/hypr/plugins/hy3
url = https://github.com/outfoxxed/hy3.git

3
.zshrc
View File

@ -109,8 +109,9 @@ export HISTORY_SUBSTRING_SEARCH_FUZZY=1
#colored output #colored output
export MANWIDTH=${MANWIDTH:-78} export MANWIDTH=${MANWIDTH:-78}
test -e /bin/nvim && export MANPAGER='nvim +Man!' || \
export MANLESS="Manual\ \$MAN_PN\ ?ltline\ %lt?L/%L.:byte\ %bB?s/%s..?\:?pB\ %pB\\%.."
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'
export MANLESS="Manual\ \$MAN_PN\ ?ltline\ %lt?L/%L.:byte\ %bB?s/%s..?\:?pB\ %pB\\%.."
export LESS="--use-color -RSM~" export LESS="--use-color -RSM~"
#local path #local path