Man page - waybar-image(5)
Packages contains this manual
- waybar-backlight-slider(5)
- waybar-river-layout(5)
- waybar-sway-scratchpad(5)
- waybar-pulseaudio-slider(5)
- waybar-hyprland-submap(5)
- waybar-river-mode(5)
- waybar-keyboard-state(5)
- waybar-cffi(5)
- waybar-pulseaudio(5)
- waybar-states(5)
- waybar-clock(5)
- waybar(5)
- waybar-dwl-tags(5)
- waybar-niri-window(5)
- waybar-niri-workspaces(5)
- waybar-dwl-window(5)
- waybar-sndio(5)
- waybar-niri-language(5)
- waybar-hyprland-language(5)
- waybar-wireplumber(5)
- waybar-mpris(5)
- waybar-gamemode(5)
- waybar-sway-language(5)
- waybar-hyprland-workspaces(5)
- waybar-power-profiles-daemon(5)
- waybar-battery(5)
- waybar-wlr-taskbar(5)
- waybar-tray(5)
- waybar-menu(5)
- waybar-sway-workspaces(5)
- waybar-styles(5)
- waybar-sway-mode(5)
- waybar-cpu(5)
- waybar-river-window(5)
- waybar-mpd(5)
- waybar-hyprland-window(5)
- waybar-sway-window(5)
- waybar-network(5)
- waybar-systemd-failed-units(5)
- waybar-jack(5)
- waybar-temperature(5)
- waybar-river-tags(5)
- waybar-custom(5)
- waybar-idle-inhibitor(5)
- waybar-bluetooth(5)
- waybar-privacy(5)
- waybar-backlight(5)
- waybar-inhibitor(5)
- waybar-image(5)
- waybar-upower(5)
- waybar-disk(5)
- waybar-memory(5)
apt-get install waybar
Manual
waybar-image
NAMEDESCRIPTION
CONFIGURATION
SCRIPT OUTPUT
EXAMPLES
STYLE
NAME
waybar - image module
DESCRIPTION
The image module displays an image from a path.
CONFIGURATION
path :
|
typeof: string |
||
|
The path to the image. |
exec :
|
typeof: string |
|
|
The path to the script, which should return image path file. |
|
|
It will only execute if the path is not set |
size :
|
typeof: integer |
|
|
The width/height to render the image. |
interval :
|
typeof: integer |
|
|
The interval (in seconds) to re-render the image. |
|
|
This is useful if the contents of path changes. |
|
|
If no interval is defined, the image will only be rendered once. |
signal :
|
typeof: integer |
|
|
The signal number used to update the module. |
|
|
This can be used instead of interval if the file changes irregularly. |
|
|
The number is valid between 1 and N, where SIGRTMIN+N = SIGRTMAX . |
on-click :
|
typeof: string |
|
|
Command to execute when clicked on the module. |
on-click-middle :
|
typeof: string |
|
|
Command to execute when middle-clicked on the module using mousewheel. |
on-update :
|
typeof: string |
|
|
Command to execute when the module is updated. |
on-scroll-up :
|
typeof: string |
|
|
Command to execute when scrolling up on the module. |
on-scroll-down :
|
typeof: string |
|
|
Command to execute when scrolling down on the module. |
smooth-scrolling-threshold :
|
typeof: double |
|
|
Threshold to be used when scrolling. |
tooltip :
|
typeof: bool |
|
|
default: true |
|
|
Option to enable tooltip on hover. |
expand :
|
typeof: bool |
|
|
default: false |
|
|
Enables this module to consume all left over space dynamically. |
SCRIPT OUTPUT
Similar to the custom module, output values of the script are newline separated. The following is the output format:
$path\n$tooltip
EXAMPLES
"image#album-art": {
|
"path": "/tmp/mpd_art", |
|
|
"size": 32, |
|
|
"interval": 5, |
|
|
"on-click": "mpc toggle" |
}
STYLE
|
• |
#image |
|||
|
• |
#image.empty |