From 8296f94fddd89491c0aa962b8cc14ede114f9b6c Mon Sep 17 00:00:00 2001 From: Kaley Fischer Date: Thu, 28 Dec 2023 18:47:15 +0100 Subject: [PATCH] fix: now clone-able --- hyprctl/main.cpp | 87 +++++-------------- src/main.cpp | 4 - .../packagefiles/wlroots-meson-build.patch | 45 ---------- subprojects/wlroots | 2 +- subprojects/wlroots.wrap | 7 -- 5 files changed, 25 insertions(+), 120 deletions(-) delete mode 100644 subprojects/packagefiles/wlroots-meson-build.patch delete mode 100644 subprojects/wlroots.wrap diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 23c620f2..a53c4c3f 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -23,78 +23,39 @@ #include #include -const std::string USAGE = R"#(usage: hyprctl [flags] [ [args]] - hyprctl --batch { [args] ; [args] ; ...} +const std::string USAGE = R"#(usage: hyprctl [(opt)flags] [command] [(opt)args] + commands: -LISTING COMMANDS: - monitors - monitors: List outputs - workspaces - workspaces: List all workspaces - activeworkspace - activeworkspace: Get currently active workspace - workspacerules - clients: List clients (e.g. windows) - clients - activewindow: Get currently active window activewindow - layers: List layers - layers - animations: List animations and bezier curves in use - devices - devices: List devices + activeworkspace binds - binds: List registered binds - dispatch - instances: List running Hyprland instances - keyword - layouts: List layouts - version - globalshortcuts: List global shortcuts - kill - version: Print hyprland version - splash -CONFIGURATION COMMANDS: - hyprpaper - keyword [args]: Execute a keyword - reload - getoption