Daniel Eklöf
1a323c6d21
log: respect the NO_COLOR environment variable
...
http://no-color.org/
2024-07-18 08:31:46 +02:00
Daniel Eklöf
739dc30323
changelog: env var substitution: fix issue reference
...
Reference the issue, not the PR.
2024-06-09 10:12:32 +02:00
Daniel Eklöf
8422e7e0b1
doc: yambar(5): remove trailing whitespace
2024-06-09 10:12:23 +02:00
Daniel Eklöf
9cc5e0f7a7
module/network: plug memory leak
...
Free the 'ifaces' list, not just its contents.
2024-06-09 10:08:38 +02:00
Daniel Eklöf
3431d5fc75
yml: replace_env_variables(): const:ify function variables
2024-06-09 10:05:21 +02:00
Tomas Slusny
20659d3350
Add support for environment variable references
...
The format is
key: ${env_variable}
Closes #96
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2024-06-09 01:11:34 +02:00
Daniel Eklöf
0bea49b75e
module/river: return empty particle list when river is not running
...
Closes #384
2024-05-20 09:33:45 +02:00
Daniel Eklöf
70efd7d15c
doc: yambar-particles: document the hard-coded spacing of short-form lists
...
Closes #385
2024-05-20 09:21:29 +02:00
Daniel Eklöf
b8a93a2673
changelog: i3/sway crash fix for output being turned on/off
2024-05-20 07:45:49 +02:00
QuincePie
a467f56677
i3: Handle FALLBACK output for workspaces.
...
sway moves the workspace to fallback_output when there is no output. For example: when all the screens are off. This commit adds an ignore for the fallback output.
2024-05-20 07:44:50 +02:00
Delgan
b3313cefc6
Fix remaining typos in the codebase (and update CI checks)
2024-05-02 16:28:51 +00:00
betazoid
00234696fe
Add examples/river-minimal.yml
2024-04-30 08:57:36 +02:00
Birger Schacht
3a7455913f
fix: typo
...
Probaly -> Probably
2024-04-30 08:56:18 +02:00
Sertonix
547cef5afb
network: fix missing break in switch statement
...
This can cause the first character of the string to be read as an iface state.
Fixes https://codeberg.org/dnkl/yambar/issues/377
2024-04-22 16:23:16 +02:00
Daniel Eklöf
6f3952819f
changelog: add new 'unreleased' section
2024-04-17 10:42:56 +02:00
Daniel Eklöf
f148c68736
Merge branch 'releases/1.11'
2024-04-17 10:42:35 +02:00
Daniel Eklöf
a2d30b96fb
meson/pkgbuild: bump version to 1.11.0
2024-04-17 10:30:54 +02:00
Daniel Eklöf
cae07a36ff
changelog: prepare for 1.11.0
2024-04-17 10:30:29 +02:00
Daniel Eklöf
3136310ade
ci: install openssl explicitly, to fix missing SSL module in Python
2024-04-17 09:53:00 +02:00
Daniel Eklöf
be01eeb1de
ci: set 'event' filters on all 'when'-statements
2024-04-17 09:52:46 +02:00
Daniel Eklöf
13f46a314a
examples: conf: laptop: repair network modules
...
Closes #374
2024-04-11 15:47:50 +02:00
Daniel Eklöf
3c572c70c9
wayland: silence compiler warning
...
... by ensuring 'layer' is always initialized, to _something_.
2024-04-09 16:34:53 +02:00
Delgan
b85ba99980
Apply "clang-format" preferences globally
2024-04-07 10:05:10 +02:00
Daniel Eklöf
d841aeeecd
config: layer: add 'overlay' and 'background'
...
The layer option (Wayland only) now accepts 'overlay' and
'background'.
Closes #372
2024-04-06 15:39:19 +02:00
Daniel Eklöf
28a18ad91e
log: fix syslog not respecting the configured log level
2024-04-05 16:11:37 +02:00
Delgan
da19c09122
Add missing "dynlist" dependency to network module
2024-04-01 08:53:50 +00:00
Delgan
58c397d154
Fix CI failing due to outdated test config file
2024-04-01 08:46:50 +00:00
Delgan
53dec73ed2
Fix miscalculation of list width in presence of empty particles
2024-04-01 09:10:58 +02:00
Sertonix
c44c66c83f
network: use dynlist instead of fixed name
...
Closes #271
Closes #265
Closes #71
2024-04-01 08:34:18 +02:00
Daniel Eklöf
4e07b63cef
plugin: workaround gcc bug that triggers a compilation error
...
GCC thinks str2type() returns NULL when it doesn't.
Closes #350
2024-03-18 16:47:37 +01:00
Daniel Eklöf
c19a31d925
ci: install and run codespell in/from a venv
2024-03-18 16:45:41 +01:00
Daniel Eklöf
4066326614
ci: sync with woodpecker 2.x changes
2024-03-18 16:40:25 +01:00
Daniel Eklöf
424f22ab84
ci: rename .woodpecker.yml -> .woodpecker.yaml
2024-03-18 16:39:43 +01:00
Haden Collins
7a5cf26fb5
Add changelog entry
2024-03-16 10:00:24 -05:00
Haden Collins
89ae7bd743
Handle reload
workspace events from sway correctly
...
Closes #361
2024-03-14 16:14:53 -05:00
Daniel Eklöf
f2d25c8341
script: fix buffer resize bug
...
If the amount of data coming in is more than we can hold in our
buffer, we resized the buffer by doubling its size. However, there
were two(!) issues here:
* If this was the first resize, the buffer size was set to 1024. This
may not be enough (i.e. there may be more than 1024 bytes to process).
* In all other cases, the buffer size was doubled. However, there is
still no guarantee the buffer is large enough.
Fix by looping until the buffer *is* large enough.
2024-02-05 12:52:40 +01:00
Delgan
aeeef4f236
Fix "mem" values updated while it should not
...
Closes #352
2024-02-05 12:49:26 +01:00
Delgan
195ac5d1cd
Fix incorrect empty/title state of i3 workspaces
2024-02-05 12:45:02 +01:00
Yiyu Zhou
9d90848291
style: remove trailing spaces
2024-01-13 00:24:58 -05:00
Daniel Eklöf
bbbf2b601e
main: S_ISFIFO() matches both pipes and FIFOs
2024-01-04 16:35:05 +01:00
Daniel Eklöf
cb2561a72c
changelog: move 'reading config from pipe' from changed to added
2024-01-04 16:33:59 +01:00
steovd
8b1fa13686
main: allow reading alternative config from pipe
2024-01-04 15:13:49 +01:00
Daniel Eklöf
bdc4fbe8e7
doc: pipewire: describe the 'content' config option
2024-01-04 13:57:17 +01:00
Delgan
e1f78a16ab
Add new "quality" tag to "network" module
2024-01-04 13:44:54 +01:00
rdbo
26bf62a899
fixed meson setup directory on readme
...
Signed-off-by: rdbo <rdbo@noreply.codeberg.org>
2024-01-04 08:21:05 +00:00
Daniel Eklöf
cdee55afed
bar: wayland: update bar size + refresh in output_done()
...
This ensures the bar's size (width) is updated when the screen
resolution (and/or scale) is changed.
Note that we already handled scale changes. This logic has been moved
from output_scale() to output_done().
Closes #330
2024-01-03 15:39:04 +01:00
Daniel Eklöf
9365580539
module: battery: style
2024-01-03 15:30:03 +01:00
Daniel Eklöf
3a3a711b69
changelog: battery: smoothing + scaling
2024-01-03 15:29:06 +01:00
Daniel Eklöf
4d46f25854
doc: battery: document defaults for battery-scale and smoothing-secs
2024-01-03 15:28:32 +01:00
Jordan Isaacs
a943def94e
battery scale and discharge smoothing
2024-01-03 15:22:12 +01:00