Skip to content

E3nviction/hyprdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprdev

A development tool for Hyprland plugins written in Go.

Description

hyprdev is a command-line utility that simplifies the development workflow for Hyprland plugins. It provides commands to build, load, reload, and unload plugins using Meson and hyprctl.

Requirements

  • Go
  • Meson build system
  • Hyprland (for hyprctl command)

Installation

  1. Clone the repository:

    git clone https://github.com/e3nviction/hyprdev.git
    cd hyprdev
  2. Build the binary:

    go build -o hyprdev .
  3. (Optional) Move to a directory in your PATH:

    sudo mv hyprdev /usr/local/bin/

Usage

Navigate to your Hyprland plugin project directory and run:

hyprdev [command] [flags]

Commands

  • build - Build the plugin using Meson
  • load - Load the built plugin
  • reload - Reload the plugin (unloads and loads again)
  • run - Build and reload the plugin in one step
  • unload - Unload the plugin

Flags

  • -p, --path string - Project path (default: current working directory)

Examples

Build a plugin in the current directory:

hyprdev build

Build and reload a plugin:

hyprdev run

Load a plugin from a specific path:

hyprdev load -p /path/to/plugin

Development

This tool is built with:

License

MIT License

About

A development tool for Hyprland plugins written in Go.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages