A plugin to add aerosnap functionality to floating windows.
snap.mp4
hyprpm add https://github.com/elviosak/hyprsnap
hyprpm enable hyprsnapgit clone https://github.com/elviosak/hyprsnap
cd hyprsnap
make -C hyprsnap all
hyprctl plugin load $(pwd)/hyprsnap/hyprsnap.so
# add the last command to "exec-once" with the full path in your configplugins {
hyprsnap {
enabled = 1 # 0 or 1, enables/disables the plugin
top_maximize = 1 # 0 or 1, enables/disables maximizing window when snapping to top
h_distance = 30 # horizontal distance from the screen edge to snap the window
v_distance = 20 # vertical distance from the screen edge to snap the window
h_corner_distance = 400 # horizontal distance from the screen edge to snap the window when already snapped vertically
v_corner_distance = 300 # vertical distance from the screen edge to snap the window when already snapped horizontally
}
}License: LGPL-2.1+