<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sway.git/sway/commands/bar, branch master</title>
<subtitle>fork of sway with action binder commands
</subtitle>
<id>https://git.vlhl.dev/navi/wayland/sway.git/atom?h=master</id>
<link rel='self' href='https://git.vlhl.dev/navi/wayland/sway.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/'/>
<updated>2024-02-23T14:43:19+00:00</updated>
<entry>
<title>Define _POSIX_C_SOURCE globally</title>
<updated>2024-02-23T14:43:19+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2024-02-16T14:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=fc640d5f6c82883c35e90a64f0098486e6091293'/>
<id>urn:sha1:fc640d5f6c82883c35e90a64f0098486e6091293</id>
<content type='text'>
See discussion in https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4555
</content>
</entry>
<entry>
<title>commands: add printf attribute to cmd_results_new()</title>
<updated>2023-04-14T16:34:54+00:00</updated>
<author>
<name>Simon Ser</name>
<email>contact@emersion.fr</email>
</author>
<published>2023-02-28T15:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=a7b50f6c9cbded863475cc7b60d048636750ef6a'/>
<id>urn:sha1:a7b50f6c9cbded863475cc7b60d048636750ef6a</id>
<content type='text'>
And fix the resulting build failures.
</content>
</entry>
<entry>
<title>ipc: make `bar &lt;bar_id&gt; mode|hidden_state` behave as documented</title>
<updated>2021-11-25T10:32:46+00:00</updated>
<author>
<name>Aleksei Bavshin</name>
<email>alebastr89@gmail.com</email>
</author>
<published>2021-11-23T04:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=94dc486f0e2eb1693b64dcc84309794f17d0f79b'/>
<id>urn:sha1:94dc486f0e2eb1693b64dcc84309794f17d0f79b</id>
<content type='text'>
sway-bar(5) says:

&gt; For compatibility with i3, bar mode &lt;mode&gt; [&lt;bar-id&gt;] syntax is
&gt; supported along with the sway only bar &lt;bar-id&gt; mode &lt;mode&gt; syntax.

while the actual behavior is that `bar_cmd_mode` ignores already
selected `config-&gt;current_bar` and applies the change to all the
configured bars.
</content>
</entry>
<entry>
<title>config: Fix swaybar pango_markup inconsistency</title>
<updated>2021-06-03T12:18:23+00:00</updated>
<author>
<name>Daniel Otero</name>
<email>otero.o.daniel@gmail.com</email>
</author>
<published>2021-03-19T17:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=b997147284b9d5632f1f929f02a17936a77cd7ec'/>
<id>urn:sha1:b997147284b9d5632f1f929f02a17936a77cd7ec</id>
<content type='text'>
Until now, swaybar did not have pango markup enabled by default, even if
the sway config had it on. This patch aims to mimic the i3 behavior, but
maintaining the functionality of the "pango_markup" sway config command.
</content>
</entry>
<entry>
<title>Declare all struct cmd_handler arrays const</title>
<updated>2021-02-04T08:49:06+00:00</updated>
<author>
<name>Manuel Stoeckl</name>
<email>code@mstoeckl.com</email>
</author>
<published>2021-02-03T00:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=cb3c7276324b5b0862088df9ffe5498998edae91'/>
<id>urn:sha1:cb3c7276324b5b0862088df9ffe5498998edae91</id>
<content type='text'>
And make the functions handling these arrays use const types.
</content>
</entry>
<entry>
<title>Add support for workspace_min_width bar option.</title>
<updated>2020-10-11T17:12:42+00:00</updated>
<author>
<name>Tarmack</name>
<email>git@tarmack.eu</email>
</author>
<published>2020-10-03T13:45:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=989123a2a5933367e5c7c39c3793f4814e026bf1'/>
<id>urn:sha1:989123a2a5933367e5c7c39c3793f4814e026bf1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cmd/bar/colors: fix dereference of null pointer</title>
<updated>2020-07-31T02:02:42+00:00</updated>
<author>
<name>Antonin Décimo</name>
<email>antonin.decimo@gmail.com</email>
</author>
<published>2020-06-04T11:47:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=2960b2c9b6c77d42f2696c1997bda965594e5dd4'/>
<id>urn:sha1:2960b2c9b6c77d42f2696c1997bda965594e5dd4</id>
<content type='text'>
`!*rgba` tests if the first byte of rgba isn't `'\0'`.
`hex_to_rgba_hex` returns NULL if `parse_color` fails. There's a null
pointer dereference in that case. The intended behavior is `!rgba`.
</content>
</entry>
<entry>
<title>treewide: fix typos</title>
<updated>2020-02-18T20:53:57+00:00</updated>
<author>
<name>Torstein Husebø</name>
<email>torstein@huseboe.net</email>
</author>
<published>2020-01-31T11:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=af294289b10ac4ae992f591be13ea4a1444e93e9'/>
<id>urn:sha1:af294289b10ac4ae992f591be13ea4a1444e93e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bar_cmd_colors: remove add_color</title>
<updated>2019-12-28T09:07:25+00:00</updated>
<author>
<name>Brian Ashworth</name>
<email>bosrsf04@gmail.com</email>
</author>
<published>2019-12-28T09:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=f898ca9a83a54133017b76039894679dcccd2e30'/>
<id>urn:sha1:f898ca9a83a54133017b76039894679dcccd2e30</id>
<content type='text'>
This is the third commit in a series of commits to refactor color
handling in sway. This removes add_color from commands.c. It was only
being used by bar_cmd_colors. This also changes the functions to use
parse_color which is used to validate rgb(a) colors throughout the code
base and is also what i3bar is using to parse the colors after they are
passed over ipc. After parsing the color and ensuring it is valid, the
rgba hex string is then generated using snprintf. This refactor also
ensures that all the colors for the command are valid before applying
any of them.
</content>
</entry>
<entry>
<title>swaybar: complete barconfig_update event handling</title>
<updated>2019-09-05T02:48:50+00:00</updated>
<author>
<name>Brian Ashworth</name>
<email>bosrsf04@gmail.com</email>
</author>
<published>2019-09-03T01:41:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/navi/wayland/sway.git/commit/?id=1fd2c6ba498e61f4fe823bf552f9d2fce8612de4'/>
<id>urn:sha1:1fd2c6ba498e61f4fe823bf552f9d2fce8612de4</id>
<content type='text'>
This adds complete support for the barconfig_update ipc event. This also
changes the bar command and subcommand handlers to correctly emit the
event. This makes it so all bar subcommands other than id and
swaybar_command are dynamically changeable at runtime. sway-bar.5 has
been updated accordingly
</content>
</entry>
</feed>
