hyprctl
command-line control utility for Hyprland, a dynamic tiling Wayland compositor
TLDR
SYNOPSIS
hyprctl [command] [arguments]
DESCRIPTION
hyprctl is the command-line control utility for Hyprland, a dynamic tiling Wayland compositor. It provides runtime control over window management, configuration, and system queries.
Dispatchers control actions like moving windows, changing workspaces, and executing programs. Common dispatchers include: exec, killactive, workspace, movewindow, fullscreen, togglefloating.
Configuration changes made with keyword are temporary and reset on reload. For persistent changes, edit the config file.
PARAMETERS
reload
Reload Hyprland configurationactivewindow
Show active window informationdevices
List input devicesworkspaces
List workspacesmonitors
List monitors and propertiesclients
List all windows/clientsdispatch DISPATCHER [ARGS]
Execute a dispatcher (window actions, workspace changes)keyword KEY VALUE
Set configuration option at runtimesetcursor THEME SIZE
Set cursor theme and sizeswitchxkblayout DEVICE CMD
Switch keyboard layout--batch
Execute multiple commands separated by semicolons-j
Output in JSON format
CAVEATS
Only works when Hyprland is running. Some commands require appropriate permissions. Changes via keyword don't persist across restarts or reloads.
HISTORY
hyprctl is part of the Hyprland project, a modern Wayland compositor created by Vaxry. Hyprland gained popularity starting in 2022 for its smooth animations, dynamic tiling, and extensive customization options.

