change animations and add swap window shortcuts

This commit is contained in:
2024-10-24 13:00:26 +02:00
parent 39286050b6
commit 92adfd4b8a

View File

@ -99,14 +99,14 @@ animations {
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 bezier = easeInOut, 0.77, 0, 0.175, 1
bezier = easeOut, 0.24, 0.66, 0.04, 1
animation = windows, 1, 7, myBezier animation = windows, 1, 2, easeInOut
animation = windowsOut, 1, 7, default, popin 80% animation = windowsIn, 1, 2, easeInOut, slide
animation = border, 1, 10, default animation = windowsOut, 1, 2, default, popin 80%
animation = borderangle, 1, 8, default animation = fade, 1, 2, easeInOut
animation = fade, 1, 7, default animation = workspaces, 1, 2, easeOut
animation = workspaces, 1, 6, default
} }
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
@ -165,19 +165,26 @@ device {
# See https://wiki.hyprland.org/Configuring/Keywords/ # See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds
bind = $mainMod, Return, exec, $terminal bind = $mainMod, Return, exec, $terminal
bind = CTRL_ALT, Q, killactive, bind = CTRL_ALT, Q, killactive,
bind = SUPER_ALT, Q, exit, bind = SUPER_ALT, Q, exit,
bind = $mainMod, S, togglefloating, bind = $mainMod, S, togglefloating,
bind = $mainMod, D, exec, $menu bind = $mainMod, D, exec, $menu
bind = $mainMod, M, fullscreen
# Move focus with mainMod + arrow keys # Move focus
bind = $mainMod, h, movefocus, l bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d bind = $mainMod, j, movefocus, d
#swap windows
bind = $mainMod SHIFT, h, swapwindow, l
bind = $mainMod SHIFT, l, swapwindow, r
bind = $mainMod SHIFT, k, swapwindow, u
bind = $mainMod SHIFT, j, swapwindow, d
# Switch workspaces with mainMod + [0-9] # Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2