sway/swaybar
Orestis Floros e52c14d535 i3-compat: swaybar: default to first bar-id
When launching swaybar from the command line without a --bar-id flag,
default to the first configured bar.

This is a mirror of i3 PR https://github.com/i3/i3/pull/4231.

This makes it easier to call swaybar from the command line since the
majority of swaybar users have only one bar configured.
2026-05-23 12:47:45 +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 i3-compat: swaybar: default to first bar-id 2026-05-23 12:47:45 +02:00
main.c i3-compat: swaybar: default to first bar-id 2026-05-23 12:47:45 +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