summaryrefslogtreecommitdiff
path: root/hyprctl/Strings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'hyprctl/Strings.hpp')
-rw-r--r--hyprctl/Strings.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/hyprctl/Strings.hpp b/hyprctl/Strings.hpp
index f738561e..67e4f992 100644
--- a/hyprctl/Strings.hpp
+++ b/hyprctl/Strings.hpp
@@ -49,6 +49,7 @@ commands:
the same format as in colors in config. Will reset
when Hyprland's config is reloaded
setprop ... → Sets a window property
+ getprop ... → Gets a window property
splash → Get the current splash
switchxkblayout ... → Sets the xkb layout index for a keyboard
systeminfo → Get system info
@@ -159,6 +160,18 @@ lock:
flags:
See 'hyprctl --help')#";
+const std::string_view GETPROP_HELP = R"#(usage: hyprctl [flags] getprop <regex> <property>
+
+regex:
+ Regular expression by which a window will be searched
+
+property:
+ See https://wiki.hypr.land/Configuring/Using-hyprctl/#setprop for list
+ of properties
+
+flags:
+ See 'hyprctl --help')#";
+
const std::string_view SWITCHXKBLAYOUT_HELP = R"#(usage: [flags] switchxkblayout <device> <cmd>
device: