diff options
| author | scorpion-26 <dev.scorpion26@gmail.com> | 2023-05-08 15:37:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-08 14:37:59 +0100 |
| commit | 826dc61e5cfe292a9967bd4397dcff37672fc194 (patch) | |
| tree | bf8c03821b81777d46a7add8802ca1dc0a91cb39 /src/config/ConfigManager.hpp | |
| parent | a31dceb2c623c41565193328f98b50694917e0bf (diff) | |
Add "next on monitor or empty" workspace parameter (#2198)
* Add "next on monitor or empty" workspace parameter
Implements the following workspace parameter:
r+x/r-x (i.e. r+1): Behaves similar to the "m" parameter, but can also
select empty workspaces and it doesn't wrap around
* Improve code comments
* Implementation V2 for 'r' workspace param
* Rebase to upstream
Should fix CI
* Always set outName
* Include named workspaces
Currently only considers open/active named workspaces
Diffstat (limited to 'src/config/ConfigManager.hpp')
| -rw-r--r-- | src/config/ConfigManager.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp index 4b4e3b4b..1d35e9dd 100644 --- a/src/config/ConfigManager.hpp +++ b/src/config/ConfigManager.hpp @@ -180,6 +180,7 @@ class CConfigManager { CMonitor* getBoundMonitorForWS(const std::string&); std::string getBoundMonitorStringForWS(const std::string&); + const std::deque<SWorkspaceRule>& getAllWorkspaceRules(); std::vector<SWindowRule> getMatchingRules(CWindow*); std::vector<SLayerRule> getMatchingRules(SLayerSurface*); |
