From 8820cc73cd6f9ee72ea2d65edd91535c6d43800e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20Houn?= Date: Sat, 5 Mar 2022 07:16:57 +0100 Subject: [PATCH] Fix hint message when using deprecated polybar-msg hook --- CHANGELOG.md | 1 + src/polybar-msg.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78bdc073..f9a8b1ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - `tray-offset-x`, `tray-offset-y`, `offset-x`, and `offset-y` were mistakenly capped below at 0 ([`#2620`](https://github.com/polybar/polybar/pull/2620)) - `custom/script`: Polybar shutdown being stalled by hanging script ([`#2621`](https://github.com/polybar/polybar/pull/2621)) +- `polybar-msg`: Wrong hint when using deprecated `hook` ([`#2624`](https://github.com/polybar/polybar/pull/2624)) ## [3.6.0] - 2022-03-01 ### Breaking diff --git a/src/polybar-msg.cpp b/src/polybar-msg.cpp index 44dd22b9..f1a9c127 100644 --- a/src/polybar-msg.cpp +++ b/src/polybar-msg.cpp @@ -141,7 +141,7 @@ static std::pair parse_message(deque args) { fprintf(stderr, "Warning: Using IPC hook commands is deprecated, use the hook action on the ipc module: %s %s \"%s\"\n", exec, - ipc_type.c_str(), ipc_payload.c_str()); + "action", ipc_payload.c_str()); } }