refactor:hypr&alacritty_config

This commit is contained in:
dichgrem
2025-07-24 21:23:02 +08:00
parent 12e5ab96f2
commit 76b04610ca
3 changed files with 98 additions and 65 deletions

View File

@@ -41,7 +41,8 @@ bind = SUPER_CTRL_ALT, S, exec, sh ~/.config/waybar/scripts/Screenshot-OCR.sh
## Window actions
bind = SUPER, F, fullscreen
bind = SUPER, Q, hy3:killactive
bind = SUPER, Q, killactive
#bind = SUPER, Q, hy3:killactive
## Window actions (bonus)
bind = SUPER_SHIFT, F, togglefloating
@@ -108,34 +109,52 @@ bind = SUPER_CTRL, L, workspace, +1
## Window focus movement
### Using Alt+Tab
bind = ALT, Tab, hy3:movefocus, r
bind = ALT_SHIFT, Tab, hy3:movefocus, l
#bind = ALT, Tab, hy3:movefocus, r
#bind = ALT_SHIFT, Tab, hy3:movefocus, l
bind = ALT, Tab, movefocus, r
bind = ALT_SHIFT, Tab, movefocus, l
### Using Arrow keys
bind = SUPER, left, hy3:movefocus,l
bind = SUPER, right, hy3:movefocus,r
bind = SUPER, up, hy3:movefocus,u
bind = SUPER, down, hy3:movefocus,d
#bind = SUPER, left, hy3:movefocus,l
#bind = SUPER, right, hy3:movefocus,r
#bind = SUPER, up, hy3:movefocus,u
#bind = SUPER, down, hy3:movefocus,d
bind = SUPER, left, movefocus,l
bind = SUPER, right, movefocus,r
bind = SUPER, up, movefocus,u
bind = SUPER, down, movefocus,d
### Using Vim-like keys
bind = SUPER_Alt, H, hy3:movefocus, l
bind = SUPER_Alt, L, hy3:movefocus, r
bind = SUPER_Alt, K, hy3:movefocus, u
bind = SUPER_Alt, J, hy3:movefocus, d
#bind = SUPER_Alt, H, hy3:movefocus, l
#bind = SUPER_Alt, L, hy3:movefocus, r
#bind = SUPER_Alt, K, hy3:movefocus, u
#bind = SUPER_Alt, J, hy3:movefocus, d
bind = SUPER_Alt, H, movefocus, l
bind = SUPER_Alt, L, movefocus, r
bind = SUPER_Alt, K, movefocus, u
bind = SUPER_Alt, J, movefocus, d
## Window direction movement
### Using Arrow keys
bind = SUPER_SHIFT, left, hy3:movewindow,l
bind = SUPER_SHIFT, right, hy3:movewindow,r
bind = SUPER_SHIFT, up, hy3:movewindow,u
bind = SUPER_SHIFT, down, hy3:movewindow,d
#bind = SUPER_SHIFT, left, hy3:movewindow,l
#bind = SUPER_SHIFT, right, hy3:movewindow,r
#bind = SUPER_SHIFT, up, hy3:movewindow,u
#bind = SUPER_SHIFT, down, hy3:movewindow,d
bind = SUPER_SHIFT, left, movewindow,l
bind = SUPER_SHIFT, right, movewindow,r
bind = SUPER_SHIFT, up, movewindow,u
bind = SUPER_SHIFT, down, movewindow,d
### Using Vim-like keys
bind = SUPER_SHIFT, H, hy3:movefocus, l
bind = SUPER_SHIFT, L, hy3:movefocus, r
bind = SUPER_SHIFT, K, hy3:movefocus, u
bind = SUPER_SHIFT, J, hy3:movefocus, d
#bind = SUPER_SHIFT, H, hy3:movefocus, l
#bind = SUPER_SHIFT, L, hy3:movefocus, r
#bind = SUPER_SHIFT, K, hy3:movefocus, u
#bind = SUPER_SHIFT, J, hy3:movefocus, d
bind = SUPER_SHIFT, H, movefocus, l
bind = SUPER_SHIFT, L, movefocus, r
bind = SUPER_SHIFT, K, movefocus, u
bind = SUPER_SHIFT, J, movefocus, d
## Some smart actions with Mouse
@@ -149,9 +168,9 @@ bind = SUPER, mouse:275, workspace, e+1
bind = SUPER, mouse:276, workspace, e-1
### hy3 bonus
bindn = , mouse:272, hy3:focustab, mouse
bindn = , mouse_down, hy3:focustab, l, require_hovered
bindn = , mouse_up, hy3:focustab, r, require_hovered
#bindn = , mouse:272, hy3:focustab, mouse
#bindn = , mouse_down, hy3:focustab, l, require_hovered
#bindn = , mouse_up, hy3:focustab, r, require_hovered
## Brightness control