Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprsnap

A plugin to add aerosnap functionality to floating windows.

snap.mp4

Install

With hyprpm

hyprpm add https://github.com/elviosak/hyprsnap
hyprpm enable hyprsnap

Manually

git 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 config

Config

plugins {
  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

License: LGPL-2.1+

About

Aerosnap in Hyprland

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages