1
1
mirror of https://github.com/swaywm/sway synced 2025-07-05 13:16:52 +02:00
sway/swaybar
Konstantin Pospelov 7e7994dbb2 swaybar: deduplicate mode and workspace rendering code
The render_workspace_button and render_binding_mode_indicator functions are
almost the same. This commit extracts the common rendering code into a new
render_box function.
2025-05-25 14:48:14 +02:00
..
tray Use has_prefix() instead of strncmp() throughout 2025-01-07 16:35:31 +01:00
bar.c swaybar: Fix 100% cpu usage if dbus dies. 2024-09-28 16:23:21 +02:00
config.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
i3bar.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
image.c common: move load_image to swaybar 2023-11-23 20:42:04 +01:00
input.c swaybar: Implement wp_cursor_shape_v1 2023-07-31 10:34:11 +02:00
ipc.c stringop: fix has_prefix() arg order in config parsing 2025-03-20 21:31:32 +01:00
main.c Replace signal() with sigaction() 2025-04-27 18:42:12 +02:00
meson.build common: move load_image to swaybar 2023-11-23 20:42:04 +01:00
render.c swaybar: deduplicate mode and workspace rendering code 2025-05-25 14:48:14 +02:00
status_line.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
swaybar-protocol.7.scd man: update maintainer 2021-01-08 09:33:51 +01:00