hyprland/backend: throw runtime_error instead of log
Allows us to disable modules entirely when socket connection isn't working. This is similar to how sway handles their socket connections disabling modules. This supports a single waybar config for multiple IPCs.
This commit is contained in:
@ -19,4 +19,7 @@ class IPCMock : public IPCTestFixture {
|
||||
public:
|
||||
// Mock getSocket1Reply to return an empty string
|
||||
static std::string getSocket1Reply(const std::string& rq) { return ""; }
|
||||
|
||||
protected:
|
||||
const char* instanceSig = "instance_sig";
|
||||
};
|
||||
|
Reference in New Issue
Block a user