windowrules: rewrite completely (#12269)
Reworks the window rule syntax completely --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
This commit is contained in:
parent
95ee08b340
commit
c2670e9ab9
93 changed files with 3574 additions and 2255 deletions
16
src/desktop/rule/matchEngine/WorkspaceMatchEngine.hpp
Normal file
16
src/desktop/rule/matchEngine/WorkspaceMatchEngine.hpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include "MatchEngine.hpp"
|
||||
|
||||
namespace Desktop::Rule {
|
||||
class CWorkspaceMatchEngine : public IMatchEngine {
|
||||
public:
|
||||
CWorkspaceMatchEngine(const std::string&);
|
||||
virtual ~CWorkspaceMatchEngine() = default;
|
||||
|
||||
virtual bool match(PHLWORKSPACE ws);
|
||||
|
||||
private:
|
||||
std::string m_value = "";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue