logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hyprctl - Utility for controlling parts of Hyprland from a CLI or a script

Authors

       Vaxerski <https://github.com/vaxerski>.

                                                                                                      hyprctl(1)

Bugs

       Submit bug reports and request features online at:
              <https://github.com/hyprwm/Hyprland/issues>

Control Commands

dispatch

              Call a dispatcher with an argument.

              An argument must be present.  For dispatchers without parameters it can be anything.

              Returns: ok on success, and an error message on failure.

              Examples:
                     hyprctldispatchexeckittyhyprctldispatchpseudoxkeyword

              Set a config keyword dynamically.

              Returns: ok on success, and an error message on failure.

              Examples:
                     hyprctlkeywordbindSUPER,0,pseudohyprctlkeywordgeneral:border_size10reload

              Force a reload of the config file.

       kill

              Enter kill mode, where you can kill an app by clicking on it.  You can exit by pressing ESCAPE.

Description

hyprctl is a utility for controlling some parts of the compositor from a CLI or a script.

Info Commands

version

              Prints the Hyprland version, flags, commit and branch of build.

       monitors

              Lists all the outputs with their properties.

       workspaces

              Lists all workspaces with their properties.

       clients

              Lists all windows with their properties.

       devices

              Lists all connected input devices.

       activewindow

              Returns the active window name.

       layers

              Lists all the layers.

       splash

              Returns the current random splash.

Name

       hyprctl - Utility for controlling parts of Hyprland from a CLI or a script

Options

--batch

              Specify a batch of commands to execute.

              Example:
                     hyprctl--batch"keywordgeneral:border_size2;keywordgeneral:gaps_out20"; separates the commands.

       -j

              Outputs information in JSON.

See Also

       Sources at: <https://github.com/hyprwm/Hyprland>

Synopsis

hyprctl [(opt)flags] [command] [(opt)args]

See Also