mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-26 10:13:25 +01:00
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:
parent
905b1b26a7
commit
aee65e4cb1
@ -36,4 +36,4 @@ fi
|
||||
sleep 0.1
|
||||
|
||||
# Use the default animation once more.
|
||||
hyprctl keyword animation workspaces,1,6,default
|
||||
hyprctl keyword animation workspaces,1,6,default,slidevert
|
||||
|
2
home.nix
2
home.nix
@ -76,7 +76,7 @@
|
||||
animation = border, 1, 10, default
|
||||
animation = borderangle, 1, 8, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default
|
||||
animation = workspaces, 1, 6, default, slidevert
|
||||
animation = specialWorkspace, 1, 6, default
|
||||
}
|
||||
|
||||
|
@ -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 [[ $numWindowsOnWorkspace -eq 0 ]]; then
|
||||
kitty &
|
||||
hyprctl keyword animation workspaces,1,6,default
|
||||
hyprctl keyword animation workspaces,1,6,default,slidevert
|
||||
exit
|
||||
fi
|
||||
|
||||
@ -58,4 +58,4 @@ fi
|
||||
sleep 0.1
|
||||
|
||||
# Use the default animation once more.
|
||||
hyprctl keyword animation workspaces,1,6,default
|
||||
hyprctl keyword animation workspaces,1,6,default,slidevert
|
||||
|
Loading…
Reference in New Issue
Block a user