From a794eecd6a71e431b654cebb1b28dbff0d6da079 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 7 Dec 2023 10:46:12 +0000 Subject: [PATCH] README: add note about hyprpm + clang-format --- README.md | 1 + src/managers/KeybindManager.cpp | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82dd0731..9f4aa847 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ easy IPC, much more QoL stuff than other wlr-based compositors and more... - Much more QoL stuff than other wlr-based compositors - Custom bezier curves for the best animations - Powerful plugin support +- Built-in plugin manager - Tearing support for better gaming performance - Easily expandable and readable codebase - Fast and active development diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 9bf05a35..2046b867 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -800,13 +800,13 @@ void CKeybindManager::changeworkspace(std::string args) { static auto* const PALLOWWORKSPACECYCLES = &g_pConfigManager->getConfigValuePtr("binds:allow_workspace_cycles")->intValue; static auto* const PWORKSPACECENTERON = &g_pConfigManager->getConfigValuePtr("binds:workspace_center_on")->intValue; - const auto PMONITOR = g_pCompositor->m_pLastMonitor; + const auto PMONITOR = g_pCompositor->m_pLastMonitor; if (!PMONITOR) return; - const auto PCURRENTWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace); - const bool EXPLICITPREVIOUS = args.starts_with("previous"); + const auto PCURRENTWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace); + const bool EXPLICITPREVIOUS = args.starts_with("previous"); if (args.starts_with("previous")) { // Do nothing if there's no previous workspace, otherwise switch to it.