Alexis
691fb88057
refactor(modules): const bar
2018-12-01 00:10:41 +01:00
David96
168415440f
Fix clicking and scrolling through workspaces
...
The way waybar used the workspace "num", clicking a workspace called "1:
something" resulted in going to a newly created workspace called "1",
because the workspace ipc command expects the workspace name, not its number.
2018-11-05 20:16:19 +01:00
Robinhuett
a042eea384
Add module to show sway binding mode
2018-10-30 13:39:30 +01:00
maxice8
047473e5a4
add missing <cstring> include for strncpy, fixes musl
...
I/usr/include/libdbusmenu-glib-0.4 -flto -fdiagnostics-color=always -DNDEBUG -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -DHAVE_SWAY -DHAVE_LIBPULSE -DHAVE_DBUSMENU -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -D_REENTRANT -pthread -MD -MQ 'waybar@exe/src_modules_sway_ipc_client.cpp.o' -MF 'waybar@exe/src_modules_sway_ipc_client.cpp.o.d' -o 'waybar@exe/src_modules_sway_ipc_client.cpp.o' -c ../src/modules/sway/ipc/client.cpp
../src/modules/sway/ipc/client.cpp: In member function 'int waybar::modules::sway::Ipc::open(const string&) const':
../src/modules/sway/ipc/client.cpp:47:3: error: 'strncpy' was not declared in this scope
strncpy(addr.sun_path, socketPath.c_str(), sizeof(addr.sun_path) - 1);
^~~~~~~
../src/modules/sway/ipc/client.cpp:47:3: note: 'strncpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
../src/modules/sway/ipc/client.cpp:2:1:
+#include <cstring>
../src/modules/sway/ipc/client.cpp:47:3:
strncpy(addr.sun_path, socketPath.c_str(), sizeof(addr.sun_path) - 1);
^~~~~~~
[36/44] Compiling C++ object 'waybar@exe/src_modules_custom.cpp.o'.
[37/44] Compiling C++ object 'waybar@exe/src_client.cpp.o'.
[38/44] Compiling C++ object 'waybar@exe/src_modules_cpu.cpp.o'.
ninja: build stopped: subcommand failed.
2018-10-28 04:06:07 -03:00
Alexis
d5d620e72d
feat(Window): handle closed window
2018-09-18 21:16:35 +02:00
Alexis
7020af7653
feat(Workspaces): urgent, visible, focused icons
2018-09-05 00:16:56 +02:00
Alex
49232eed8d
Clean ( #31 )
2018-08-20 14:50:45 +02:00
Alex
6705134034
Handle screens disconnection ( #29 )
2018-08-19 13:39:57 +02:00
Alexis
38ede5b3d5
refactor(ipc): clean
2018-08-18 16:01:56 +02:00
Alexis
b1fd4d7b82
feat(modules): generic label module to allow max-length on all labels
2018-08-18 11:43:48 +02:00
Alex
6635548d3e
Style code ( #25 )
2018-08-16 14:29:41 +02:00
Alexis
f94598c138
feat(sway): add focused window name
2018-08-15 20:17:17 +02:00