diff options
author | ItsDrike <[email protected]> | 2024-03-02 19:12:31 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-02 18:12:31 +0000 |
commit | be89d6faa988f6bd33a66f02746872c649a16180 (patch) | |
tree | 1e2bfbf8d184a7209a5b973c42a869931572f8ef /hyprctl/main.cpp | |
parent | 8811f4b69ade469285635c539f20194d717c8e17 (diff) | |
download | Hyprland-be89d6faa988f6bd33a66f02746872c649a16180.tar.gz Hyprland-be89d6faa988f6bd33a66f02746872c649a16180.zip |
notifs: Implement notification dimissing (#4790)
Diffstat (limited to 'hyprctl/main.cpp')
-rw-r--r-- | hyprctl/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 02da5f43..e6ae15bb 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -33,6 +33,7 @@ commands: cursorpos decorations devices + dismissnotify dispatch getoption globalshortcuts @@ -388,6 +389,8 @@ int main(int argc, char** argv) { request(fullRequest, 3); else if (fullRequest.contains("/plugin")) request(fullRequest, 1); + else if (fullRequest.contains("/dismissnotify")) + request(fullRequest, 0); else if (fullRequest.contains("/notify")) request(fullRequest, 2); else if (fullRequest.contains("/output")) |