From f2dc5a806c7a50f932fd305995510a835f9ead5a Mon Sep 17 00:00:00 2001 From: scorpion-26 Date: Thu, 15 Jun 2023 00:23:02 +0200 Subject: [PATCH] Log workspace dispatching --- src/Workspaces.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Workspaces.h b/src/Workspaces.h index 2a02b0e..6981667 100644 --- a/src/Workspaces.h +++ b/src/Workspaces.h @@ -30,7 +30,7 @@ namespace Workspaces LOG("Error: Called Go to workspace, but Workspaces isn't open!"); return; } - + LOG("Switching workspace: hyprctl dispatch workspace " << workspace); system(("hyprctl dispatch workspace " + std::to_string(workspace)).c_str()); } @@ -43,6 +43,7 @@ namespace Workspaces scrollOp = 'm'; } std::string cmd = std::string("hyprctl dispatch workspace ") + scrollOp + direction + "1"; + LOG("Switching workspace: " << cmd.c_str()); system(cmd.c_str()); } }