You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Bar tooltips, as in Waybar: tooltip-format, tooltip-format-<state>
and each module's default tooltip (the whole window title, battery time
left, the clock's {calendar}, disk usage, a script's tooltip,
scratchpad windows), styled by tooltip in style.css. Tray icons show
their program's tooltip, or get NIN_POPUPOPEN to show their own, and
receive the pointer's movements as from Explorer.
The bar is translucent where its style says so (Waybar's default rgba(43, 48, 59, 0.5)): it is a layered window with per-pixel alpha,
where it used to blend such colours over black.
Several bars from one Waybar config (an array), each with its own
modules and outputs; left and right positions with the modules top
to bottom; margin, width and exclusive; rotate for text modules.
Waybar's power-profiles-daemon module shows and cycles Windows' power
mode (or the power plan): power-saver, balanced, performance.
:hover and :not(.class) in the bar's style.css; the default style
has Waybar's hover rules (workspace buttons, #pulseaudio). Waybar's #battery.critical:not(.charging) now turns a low battery red.
Keyboard layouts: Waybar's sway/language module shows the active
Windows keyboard layout (in the default bar when more than one is
installed; a click switches to the next), and sway's input type:keyboard xkb_switch_layout next|prev|<index> switches
layouts, bound to $mod+Ctrl+space in the default config. get_inputs
lists the layouts as sway does, and an input event (xkb_layout) is
sent when the layout changes, also through Windows' own hotkeys.
Waybar custom/* modules run scripts: exec with interval, signal or as a continuous script, exec-if, restart-interval, return-type: json, format-icons by alt or percentage, escape, hide-empty-text, on-update. Scripts run through cmd.exe without a
window, each in a job object so nothing they start outlives them or
swinewm. pkill -RTMIN+8 waybar (in exec, an on-click or swinemsg exec) runs the modules with "signal": 8; -USR1 shows or
hides the bar and -USR2 reloads it, as in Waybar.
Waybar modules network (IP Helper and the WLAN API: addresses,
Wi-Fi name and signal, bandwidth), pulseaudio/wireplumber (the
default Windows output and input; scroll for the volume), disk, temperature (ACPI thermal zones, where Windows reports them), idle_inhibitor (keeps the display on) and keyboard-state. The default
bar shows the volume, the network and, where available, the temperature.
Waybar's unit formatting (pow_format) for bandwidth and disk sizes,
with its specs ({bandwidthDownBits:>}, {used:=}, {total:Gi}), and format-icons thresholds ({"icon": …, "max": n}).
pactl, wpctl and pamixer volume and mute commands in exec (an on-click, a binding) change the Windows volume, so volume bindings from
Linux configs work.
Bar modules take on-click-middle and on-click-right.
exec swaymsg <command> (and swinemsg) runs the command in swinewm
without starting a process, so Waybar on-clicks and bindings from
Linux configs work as they are.