Change workspace animation to vertical

Vertical is nice since the animation is faster and covers less of the
screen. It works well with the master layout since you can easily see
the master window of each workspace.

Being able to have unique partitioning schemes for each workspace (as
long as they're using the master layout) is a nice advantage of Hyprland
over other compositors like river.
This commit is contained in:
Donovan Glover 2023-05-12 22:33:40 -04:00
parent 905b1b26a7
commit aee65e4cb1
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 4 additions and 4 deletions

View File

@ -36,4 +36,4 @@ fi
sleep 0.1 sleep 0.1
# Use the default animation once more. # Use the default animation once more.
hyprctl keyword animation workspaces,1,6,default hyprctl keyword animation workspaces,1,6,default,slidevert

View File

@ -76,7 +76,7 @@
animation = border, 1, 10, default animation = border, 1, 10, default
animation = borderangle, 1, 8, default animation = borderangle, 1, 8, default
animation = fade, 1, 7, default animation = fade, 1, 7, default
animation = workspaces, 1, 6, default animation = workspaces, 1, 6, default, slidevert
animation = specialWorkspace, 1, 6, default animation = specialWorkspace, 1, 6, default
} }

View File

@ -13,7 +13,7 @@ numWindowsOnWorkspace=`hyprctl workspaces -j | jq -r ".[] | select(.id==$oldWork
# If there are no windows yet, function as a program launcher # If there are no windows yet, function as a program launcher
if [[ $numWindowsOnWorkspace -eq 0 ]]; then if [[ $numWindowsOnWorkspace -eq 0 ]]; then
kitty & kitty &
hyprctl keyword animation workspaces,1,6,default hyprctl keyword animation workspaces,1,6,default,slidevert
exit exit
fi fi
@ -58,4 +58,4 @@ fi
sleep 0.1 sleep 0.1
# Use the default animation once more. # Use the default animation once more.
hyprctl keyword animation workspaces,1,6,default hyprctl keyword animation workspaces,1,6,default,slidevert