Commit Graph
5214 Commits
Author SHA1 Message Date
Alex baa6ec0900 Merge remote-tracking branch 'origin/mig-D' into refactor/generic-tooltip 2026-07-04 00:06:12 +02:00
Alex 89167f5a2c Merge remote-tracking branch 'origin/mig-C' into refactor/generic-tooltip 2026-07-04 00:06:12 +02:00
Alex 0f64e42480 Merge remote-tracking branch 'origin/mig-B' into refactor/generic-tooltip 2026-07-04 00:06:12 +02:00
Alexis Rouillard 65effe9053 Merge pull request #4760 from akselaase/aksel.aase/clock-exec
feat(clock): Add action to execute external command
2026-07-04 00:05:52 +02:00
Alex 8dbba448ce refactor(modules): migrate state modules to ALabel tooltip helper
Migrate cpu, cpu_usage, cpu_frequency and memory to the generic
updateLabelAndTooltip/ForState helper so label and tooltip rendering go
through the dedup-aware setters and shared tooltip-format resolution.

Add store-accepting overloads of the helper to ALabel for modules that
build a dynamic fmt argument store (per-core cpu stats). cpu keeps its
tooltip-format-<state> selection via the state overload; the others keep
their existing tooltip-format-only behavior.
2026-07-04 00:05:17 +02:00
Alex 014c95a9fe refactor(modules): migrate audio/network/power modules to ALabel tooltip helpers
Migrate network, pulseaudio, wireplumber, jack and power_profiles_daemon
to the generic ALabel tooltip helpers:

- jack and power-profiles-daemon use updateLabelAndTooltip() since their
  label/tooltip share a single arg set and a format-string tooltip default.
- network, pulseaudio and wireplumber keep their rich in-module format
  selection but build a single fmt arg store, render the label/tooltip
  through the dedup-aware setLabelMarkup()/setTooltipMarkup() setters and
  resolveTooltipFormat(), preserving their custom fallbacks (label text,
  sink/node description) and visibility handling exactly.
2026-07-04 00:04:47 +02:00
Alexis Rouillard a57058ddab Merge pull request #4722 from ALSchwalm/wifi-state
Add '-<state>' support to wifi config
2026-07-04 00:03:33 +02:00
Alex 86b8dd6b1b refactor: migrate backlight/battery/bluetooth/gps to updateLabelAndTooltip 2026-07-04 00:01:17 +02:00
Alex 836449d253 refactor(modules): use ALabel dedup tooltip helper in simpleclock, systemd-failed-units, upower
simpleclock: migrate to updateLabelAndTooltip (label + tooltip share the
localtime arg; default tooltip falls back to the label format).
systemd-failed-units: use setLabelMarkup/setTooltipMarkup dedup setters;
label/tooltip formats are selected by different conditions so the combined
helper does not apply.
upower: use setLabelMarkup for the label; tooltip stays a custom GTK widget.
mpd already uses the dedup setters (label/tooltip use different truncated
args), so no change.
2026-07-04 00:00:17 +02:00
Alex db4941efe7 refactor(tooltip): migrate modules to ALabel generic tooltip helper
Migrate idle_inhibitor, sway/language, sway/scratchpad,
hyprland/language and hyprland/window to the shared label/tooltip
setters. idle_inhibitor uses updateLabelAndTooltipForState; the others
keep their custom label/tooltip resolution (trim, precomputed tooltip,
rewriteString, per-lang/variant formats) and switch to the dedup-aware
setLabelMarkup/setTooltipMarkup.
2026-07-04 00:00:15 +02:00
Alex cdfd3cb08a refactor: migrate complex-tooltip modules to ALabel dedup setters
Switch direct label_.set_markup/set_tooltip_markup calls to the
deduplicating setLabelMarkup/setTooltipMarkup helpers in clock, custom
and mpris, keeping their custom tooltip construction logic intact.
taskbar is left untouched: its tooltip lives on per-task Gtk::Button,
not on an ALabel label_.
2026-07-03 23:59:55 +02:00
Alexis Rouillard 0fd8a4c30f Merge pull request #4366 from winkelnp/wp-bluetooth
`format-bluetooth` and `device.form-factor` support for wireplumber module
2026-07-03 23:59:05 +02:00
Alexis Rouillard 5af4b83d19 Merge pull request #4861 from eonphi/master
feat(hyprland/workspaces): grouping icons
2026-07-03 23:59:01 +02:00
Alexis Rouillard f9ed55d0ab Merge pull request #3421 from Ape/pr/pulseaudio_mapping
pulseaudio: Add 'sink-mapping' config option
2026-07-03 23:58:57 +02:00
Alex 66ecba4e99 idle_inhibitor: apply clang-format 2026-07-03 23:58:46 +02:00
Alex a91dcbe595 Merge remote-tracking branch 'origin/master' into refactor/generic-tooltip
# Conflicts:
#	src/modules/disk.cpp
2026-07-03 23:56:44 +02:00
Alex 5c1dd9e9f1 Merge remote-tracking branch 'origin/master' into pr-5110 2026-07-03 23:56:28 +02:00
Alex 331fe0e963 Fix clang-format 2026-07-03 23:52:24 +02:00
Alex 885ced58fc Fix clang-format 2026-07-03 23:52:13 +02:00
Alex 15e0c9cb1c Merge remote-tracking branch 'origin/master' into pr-4760 2026-07-03 23:52:11 +02:00
Alex c4c9345fef Fix clang-format 2026-07-03 23:52:02 +02:00
Alex 846ce3e1a4 Merge remote-tracking branch 'origin/master' into pr-5069 2026-07-03 23:51:53 +02:00
Alex 913cde915a Fix clang-format 2026-07-03 23:51:45 +02:00
Alex 67cbeb35b4 Merge remote-tracking branch 'origin/master' into pr-4334 2026-07-03 23:51:40 +02:00
Alex c33b2f659c Merge remote-tracking branch 'origin/master' into pr-5017
# Conflicts:
#	man/waybar-river-tags.5.scd
2026-07-03 23:51:34 +02:00
Alex 733c688ded Merge remote-tracking branch 'origin/master' into pr-4588 2026-07-03 23:51:30 +02:00
Alex 8fafb53177 Merge remote-tracking branch 'origin/master' into pr-4712 2026-07-03 23:51:23 +02:00
Alex e792ed8f85 Merge remote-tracking branch 'origin/master' into pr-4861
# Conflicts:
#	src/modules/hyprland/workspace.cpp
2026-07-03 23:51:19 +02:00
Alex b13d76d346 Merge remote-tracking branch 'origin/master' into pr-4366
# Conflicts:
#	src/modules/wireplumber.cpp
2026-07-03 23:51:16 +02:00
Alex 5ad0eb3163 Merge remote-tracking branch 'origin/master' into pr-3421
# Conflicts:
#	src/modules/pulseaudio.cpp
2026-07-03 23:51:13 +02:00
Alex 2ac1f1c437 Fix clang-format 2026-07-03 23:51:10 +02:00
Alex d5f5a5b4df Merge remote-tracking branch 'origin/master' into pr-4722 2026-07-03 23:50:57 +02:00
Alex 665b07209e Merge remote-tracking branch 'origin/master' into pr-4060
# Conflicts:
#	man/waybar.5.scd.in
2026-07-03 23:50:55 +02:00
Alex b9d5b3b4a2 Merge remote-tracking branch 'origin/master' into pr-5041
# Conflicts:
#	src/modules/niri/workspaces.cpp
2026-07-03 23:50:53 +02:00
Alex 8eb916ac84 refactor(ALabel): add generic label+tooltip helper to remove duplication
Modules duplicated the same boilerplate to format their label and tooltip
(read tooltip-format, fmt::format, set_tooltip_markup) across ~29 modules.

Add updateLabelAndTooltip(labelFormat, tooltipDefault, args...) and its
state-aware variant updateLabelAndTooltipForState(state, ...) to ALabel: they
build a single fmt arg store, render the label and the resolved tooltip format
(tooltip-format[-state] or default) through the dedup-aware setters, honoring
the tooltip toggle. resolveTooltipFormat() centralizes the format resolution.

Migrate temperature and disk as the first adopters.
2026-07-03 23:46:31 +02:00
Alexis Rouillard 33a21705ee Merge pull request #1870 from nova-nowiz/feat/brightness-percent-exp
feat(backlight): added percentexp as format option
2026-07-03 23:43:24 +02:00
Alexis Rouillard e2056db932 Merge pull request #4084 from PandorasFox/master
add prefer-album-artist to mpris module
2026-07-03 23:43:11 +02:00
Alexis Rouillard 7ba2a7694d Merge pull request #4607 from zspher/feat-image-path
feat(image): expand `~` & `$HOME` in path
2026-07-03 23:43:00 +02:00
Alexis Rouillard 960a2069ee Merge pull request #4762 from szbmrk/feat-multiple-disks
feat(disk)!: handle multiple disks at once
2026-07-03 23:42:55 +02:00
Alexis Rouillard 325ee9e7f7 Merge pull request #4826 from AntGarSil/agd/ignore-tray-applets
feat (tray): Ignore Tray items by service name and when dbus properties load
2026-07-03 23:42:51 +02:00
Alexis Rouillard 4b9284ffd0 Merge pull request #3925 from casKd-dev/dwl/hide-vacant
dwl/tags: add hide-vacant option
2026-07-03 23:42:17 +02:00
Alex 1afb1a5229 docs(man): document options implemented but missing from man pages
Sync man pages with the code for options that were read but undocumented:
- sway/workspaces: ignore-workspaces
- niri/workspaces: sort-by-number, hide-empty
- wayfire/workspaces: disable-scroll, enable-bar-scroll
- river/tags: set-tags, toggle-tags
- hyprland/workspaces: persistent-workspaces (formalized)
- hyprland/window: fallback, tooltip-format
- cpu: format-<state>, tooltip-format, tooltip-format-<state>
- pulseaudio/slider: ignored-sinks
- hyprland/niri/mango language: format-<lang>-<variant> (+ hyprland tooltip variant)
2026-07-03 23:35:12 +02:00
Alexis Rouillard 2108c65bb2 Merge pull request #4255 from mBornand/wp_scales
wireplumber: add more volume formats
2026-07-03 23:20:41 +02:00
Alexis Rouillard 8587474821 Merge pull request #4896 from nickjj/feature-clock-calendar-css-classes
feat (clock): Add support for optional CSS classes to the clock module's calendar tooltip
2026-07-03 23:20:39 +02:00
Alexis Rouillard a4cba38c81 Merge pull request #3926 from casKd-dev/dwl/hide-title
dwl/window: allow hiding of title when either inactive or empty
2026-07-03 23:20:36 +02:00
Alexis Rouillard c7ca5eefeb Merge pull request #3706 from ico277/master
Add an option to search for name in hwmon directory for the temperature module
2026-07-03 23:20:34 +02:00
Alexis Rouillard 87230211e0 Merge pull request #4907 from jaypikay/master
hostname dependend module
2026-07-03 23:12:46 +02:00
Alexis Rouillard d2a082933a Merge pull request #4908 from 7FM/master
pulseaudio: add target option to control source (microphone) volume
2026-07-03 23:12:36 +02:00
Alexis Rouillard bd7a62b8ee Merge pull request #5054 from IVSOP/feat/cpu-icons-auto
feat(cpu): add {icons} format replacement for all per-core icons
2026-07-03 23:11:19 +02:00
Alexis Rouillard 0be7bbb730 Merge pull request #4532 from mbroemme/2025-wlr-taskbar-add-justify-option
feat(wlr/taskbar): add `justify` option to control horizontal alignment of the module box
2026-07-03 23:07:39 +02:00