polybar-dwm/include/modules
Vincent Bernat 5f3462240c
feat(ipc): allow receiving arbitrary text on IPC socket ()
This adds the 'send' action to the ipc module that can be used to send arbitrary text to the module:

    polybar-msg action "#ipc.send.%{F#4444ff}hello%{F-}"

* feat(ipc): allow receiving arbitrary text on IPC socket

Instead of just allowing hook numbers to be executed, the user can
send arbitrary text and the IPC module will put it in the bar. The IPC
payload format is extended to accept an arbitrary string if the first
character after the module name is ':'.

    polybar-msg hook test :'%{F#4444ff}hello%{F-}'

Fix 

* Use actions for sending data to ipc module

* ipc: Don't use exceptions when no hooks are defined

* Update src/modules/ipc.cpp

Co-authored-by: patrick96 <p.ziegler96@gmail.com>
2021-07-11 20:42:28 +02:00
..
meta Universal Visibility Action ( cont'd) () 2021-07-07 21:43:49 +02:00
alsa.hpp
backlight.hpp feat(backlight): add use-actual-brightness option () 2021-02-16 10:02:33 +01:00
battery.hpp Add compiler warning for missing override specifier () 2021-01-04 10:38:43 +01:00
bspwm.hpp feat(bspwm): Option to scroll through occupied desktops only () 2021-05-13 12:59:13 +02:00
counter.hpp
cpu.hpp
date.hpp
fs.hpp Remove undefined behaviors and clean code () 2021-02-15 23:32:56 +01:00
github.hpp
i3.hpp feat(conf): Option to always show urgent workspaces in i3 () 2021-02-15 21:31:34 +01:00
ipc.hpp feat(ipc): allow receiving arbitrary text on IPC socket () 2021-07-11 20:42:28 +02:00
memory.hpp
menu.hpp
mpd.hpp
network.hpp
pulseaudio.hpp
script.hpp Add compiler warning for missing override specifier () 2021-01-04 10:38:43 +01:00
systray.hpp
temperature.hpp
text.hpp
unsupported.hpp Universal Visibility Action ( cont'd) () 2021-07-07 21:43:49 +02:00
xbacklight.hpp Add compiler warning for missing override specifier () 2021-01-04 10:38:43 +01:00
xkeyboard.hpp Add compiler warning for missing override specifier () 2021-01-04 10:38:43 +01:00
xwindow.hpp Add compiler warning for missing override specifier () 2021-01-04 10:38:43 +01:00
xworkspaces.hpp fix(xworkspaces): Segfault for wrong _NET_CURRENT_DESKTOP 2021-03-03 22:34:38 +01:00