8000 GitHub - veryCrunchy/hyprgrid
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

veryCrunchy/hyprgrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypr Grid

A modern window grid manager for Hyprland that allows for precise window positioning using a configurable grid system.

Features

  • Configurable grid system (rows, columns, gaps)
  • Save and load window positions
  • Keyboard shortcuts for quick window positioning
  • Visual grid editor for creating custom layouts
  • Rule-based window positioning
  • Multiple monitor support

Installation

Dependencies

  • Qt6 (Core, GUI, Widgets, Network)
  • CMake (3.16+)
  • GCC with C++17 support

Building from Source

  1. Clone the repository:
git clone https://github.com/username/hyprgrid.git
cd hyprgrid
  1. Build the application:
./build.sh
  1. Install the application:
./build.sh --install

Usage

Command Line Interface

hypr-grid-manager [options]

Options:

  • -a, --apply <preset:position>: Apply a window position from a preset
  • -r, --reset: Reset window state and clear rules
  • -c, --config: Print current configuration
  • -u, --ui: Show the configuration UI

Examples

Apply a position:

hypr-grid-manager -a default:top-left

Reset window state:

hypr-grid-manager -r

Open the UI:

hypr-grid-manager -u

Integration with Hyprland

Add these bindings to your Hyprland configuration:

# Grid manager UI
bind = Super+Control, Return, exec, hypr-grid-manager -u

# Apply grid positions
bind = Super, KP_7, exec, hypr-grid-manager -a default:top-left
bind = Super, KP_8, exec, hypr-grid-manager -a default:top
bind = Super, KP_9, exec, hypr-grid-manager -a default:top-right
# ...more bindings...

Configuration

The configuration file is stored at ~/.config/hypr/qt-grid-manager/config.json. You can edit this file directly or use the UI to manage your grid layouts.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0