aboutsummaryrefslogtreecommitdiffhomepage
path: root/hyprctl
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-03-08 17:47:12 +0000
committerVaxry <[email protected]>2024-03-08 17:47:12 +0000
commit717d5b3cc2b9e2f94d3ec1ba794e21bc2bb787e3 (patch)
tree975b7dd0936a227276ff1a7e6af882f2878b19b6 /hyprctl
parent0a4ade01d35abb4506da77cc64ab93e0c5c34dbd (diff)
downloadHyprland-717d5b3cc2b9e2f94d3ec1ba794e21bc2bb787e3.tar.gz
Hyprland-717d5b3cc2b9e2f94d3ec1ba794e21bc2bb787e3.zip
hyprctl: hide unmapped windows without -a
Diffstat (limited to 'hyprctl')
-rw-r--r--hyprctl/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index e6ae15bb..4d6066b5 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -309,6 +309,8 @@ int main(int argc, char** argv) {
json = true;
} else if (ARGS[i] == "-r" && !fullArgs.contains("r")) {
fullArgs += "r";
+ } else if (ARGS[i] == "-a" && !fullArgs.contains("a")) {
+ fullArgs += "a";
} else if (ARGS[i] == "--batch") {
fullRequest = "--batch ";
} else if (ARGS[i] == "--instance" || ARGS[i] == "-i") {