Commit Graph

4327 Commits

Author SHA1 Message Date
7110c455e2 fix of example config typos 2026-02-12 02:12:00 +03:00
3bcadfdf5a battery: power switch events 2026-02-12 01:42:30 +03:00
03a77c592b Merge pull request #4844 from Cprakhar/fix/remove-battery-status-console-log
fix: remove unnecessary console log for battery status
2026-02-11 21:22:26 +01:00
3833028697 Merge pull request #4847 from esensar/patch-1
docs: fix typo in waybar.5 in `expand-right` field info
2026-02-11 21:21:49 +01:00
c388208e21 docs: fix typo in waybar.5 in expand-right field info 2026-02-11 13:01:07 +01:00
bd222984bb fix: remove unnecessary console log for battery status 2026-02-11 01:12:21 +05:30
d527ccd4c1 Merge pull request #4838 from khaneliman/image
fix(image): treat missing interval as once
2026-02-10 14:55:45 +01:00
3b478ee6a5 chore: format
Some unrelated files failed formatting.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-09 15:53:44 -06:00
c9a7cbbdb3 fix(image): treat missing interval as once
PR #4390 enabled millisecond intervals but changed image interval parsing so a missing interval could resolve to 1ms. That creates a hot update loop and can spike CPU and destabilize rendering in drawer/group setups (issue #4835).

Use explicit semantics: missing, null, non-numeric, or <=0 interval is treated as "once" (max sleep), while positive numeric values still support ms precision with a 1ms floor. This keeps the intended feature (sub-second polling when requested) without defaulting to busy looping.

Also align waybar-image(5) docs with runtime behavior.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-09 15:27:35 -06:00
306f970684 Merge pull request #4828 from hannesbraun/fix-poll-include
Fix include of poll.h
2026-02-08 21:07:26 +01:00
00ccfce6f5 Merge pull request #4831 from Cprakhar/fix/pango-markup-temperature
fix: update tooltip method to use pango markup formatting
2026-02-08 20:59:13 +01:00
7e6da1adb2 fix: update tooltip method to use pango markup formatting 2026-02-09 00:16:11 +05:30
f373ebfcbb Fix include of poll.h 2026-02-08 13:32:41 +01:00
2616785d18 Merge pull request #4822 from khaneliman/ci
ci: bump flake lock actions
2026-02-07 21:20:28 +01:00
833c40a84b feat(ci): enable concurrency for nix-tests
Don't let multiple tests run, cancel existing for same pr

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-06 15:19:04 -06:00
d95809e11b chore(ci): bump flake lock actions
Multiple releases old, keep up to date.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2026-02-06 15:16:20 -06:00
90b209add8 chore: 0.15.0 2026-02-06 21:15:03 +01:00
a8bbc90efe Merge pull request #4819 from cebem1nt/master
fix: backlight/slider fix rounding issue on scroll up
2026-02-06 19:10:58 +01:00
429d7df52b fix: backlight/slider fix rounding issue on scroll up 2026-02-05 23:38:47 -03:00
26c09f1e2e Merge pull request #4814 from Alexays/copilot/fix-menu-freeze-issue
Fix menu freezing when launching applications
2026-02-04 10:33:52 +01:00
65e708779b Fix function overload order to resolve compilation error
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 09:26:20 +00:00
04766452b4 Use idiomatic empty() check for strings
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 09:15:25 +00:00
c4982efa95 Add output_name parameter to forkExec for WAYBAR_OUTPUT_NAME env var
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 09:14:45 +00:00
dad6e8a257 Merge pull request #4812 from Alexays/copilot/fix-tooltip-sync-issue
Fix custom module tooltip not updating on exec output change
2026-02-04 10:12:20 +01:00
98c2ace0ec Merge pull request #4813 from Alexays/copilot/fix-bluetooth-module-issue
Fix Pango markup rendering in bluetooth module tooltips
2026-02-04 10:11:18 +01:00
68d3e13fdd Fix menu freezing when launching applications
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 09:09:44 +00:00
2b29c9a5d6 Fix tooltip sync issue by removing conditional checks
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 09:08:42 +00:00
08baa3fd40 Merge pull request #4808 from Alexays/copilot/fix-corrupted-double-linked-list
Fix heap corruption from GTK operations on IPC thread in Hyprland modules
2026-02-04 10:08:13 +01:00
717cc4a4d1 Fix Pango markup rendering in bluetooth module tooltip
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 09:07:46 +00:00
be9d9c87e6 Initial plan 2026-02-04 09:06:33 +00:00
e8558dd696 Initial plan 2026-02-04 09:05:50 +00:00
7921ab4008 Initial plan 2026-02-04 09:05:41 +00:00
4c5167083d Merge pull request #4809 from Alexays/copilot/fix-unhandled-exception
Fix unhandled JSON exception in signal handler
2026-02-04 10:04:16 +01:00
7261d00c31 Merge pull request #4810 from Alexays/copilot/fix-waybar-crash-pango
Fix Pango NULL layout crash in cava module
2026-02-04 10:03:11 +01:00
cb54b98fd5 Final updates - thread safety fix complete
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 09:00:09 +00:00
da8fd864c6 Simplify mutex locking in WindowCount module
- Acquire lock once at start of update() and hold for entire function
- Remove redundant lock from queryActiveWorkspace() since it's only called from update()
This addresses code review feedback and makes the locking strategy clearer

Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:57:53 +00:00
0a8b7b096a Simplify fix: only add isInt() check in refresh methods
Changed approach per maintainer feedback - instead of caching signal values,
just add isInt() check before accessing config_["signal"].asInt() in refresh()
methods. This is simpler and more minimal.

Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:57:08 +00:00
c1240a98aa Fix mutex locking in WindowCount module
Ensure workspace_ accesses are properly protected by mutex after queryActiveWorkspace call

Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:56:17 +00:00
e0a2cb8f8f Complete fix for Pango NULL layout crash
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:55:08 +00:00
74fb2f252f Remove CodeQL artifact from repository
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:54:48 +00:00
330c77c87a Fix thread safety in Hyprland modules to prevent corrupted double-linked list crash
- Move GTK operations from IPC thread to GTK main thread in Window module
- Move GTK operations from IPC thread to GTK main thread in WindowCount module
- Move GTK style class operations from IPC thread to GTK main thread in Submap module
- Language and Workspaces modules already safe (only update internal state)

Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:54:36 +00:00
19ede92d7f Complete fix for unhandled exception in signal handler
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:54:36 +00:00
03de38b4d0 Fix Pango NULL layout crash by clearing markup before hiding label
Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:54:32 +00:00
4cadae83b3 Improve comments for cached signal values
Clarify that -1 indicates signal-based refresh is disabled

Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:54:14 +00:00
1466ca8bef Merge pull request #4729 from xav-ie/fix-cava-audio-height-init
fix-cava-audio-height-init
2026-02-04 09:54:00 +01:00
c34b1b6a19 Fix unhandled JSON exception in signal handlers
Cache signal value during module construction to avoid accessing JSON config
in signal handler context. This prevents crashes when signal field is missing
or not an integer type.

- Custom module: Cache signal_ value in constructor
- Image module: Cache signal_ value in constructor
- Both modules: Use cached value in refresh() method

Co-authored-by: Alexays <13947260+Alexays@users.noreply.github.com>
2026-02-04 08:53:47 +00:00
2c3aab88de Initial plan 2026-02-04 08:51:23 +00:00
f16a6c7dcf Initial plan 2026-02-04 08:51:07 +00:00
68e1e6dc26 Initial plan 2026-02-04 08:50:37 +00:00
39e59e557f fix: double free / uncatched errors 2026-02-04 09:47:00 +01:00