mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 13:45:59 +01:00
README: add note about hyprpm + clang-format
This commit is contained in:
parent
d360550546
commit
a794eecd6a
2 changed files with 4 additions and 3 deletions
|
@ -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
|
- Much more QoL stuff than other wlr-based compositors
|
||||||
- Custom bezier curves for the best animations
|
- Custom bezier curves for the best animations
|
||||||
- Powerful plugin support
|
- Powerful plugin support
|
||||||
|
- Built-in plugin manager
|
||||||
- Tearing support for better gaming performance
|
- Tearing support for better gaming performance
|
||||||
- Easily expandable and readable codebase
|
- Easily expandable and readable codebase
|
||||||
- Fast and active development
|
- Fast and active development
|
||||||
|
|
|
@ -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 PALLOWWORKSPACECYCLES = &g_pConfigManager->getConfigValuePtr("binds:allow_workspace_cycles")->intValue;
|
||||||
static auto* const PWORKSPACECENTERON = &g_pConfigManager->getConfigValuePtr("binds:workspace_center_on")->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)
|
if (!PMONITOR)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const auto PCURRENTWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace);
|
const auto PCURRENTWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace);
|
||||||
const bool EXPLICITPREVIOUS = args.starts_with("previous");
|
const bool EXPLICITPREVIOUS = args.starts_with("previous");
|
||||||
|
|
||||||
if (args.starts_with("previous")) {
|
if (args.starts_with("previous")) {
|
||||||
// Do nothing if there's no previous workspace, otherwise switch to it.
|
// Do nothing if there's no previous workspace, otherwise switch to it.
|
||||||
|
|
Loading…
Reference in a new issue