-
-
Notifications
You must be signed in to change notification settings - Fork 810
Module: Image
bd-g edited this page Jan 24, 2023
·
6 revisions
The image
module displays an image from a path.
Addressed by image
option | typeof | default | description |
---|---|---|---|
path |
string | The absolute path to the image | |
size |
integer | The width/height to render the image | |
interval |
integer | The interval (in seconds) in which the information gets polled | |
signal |
integer | The signal number used to update the module. The number is valid between 1 and N, where SIGRTMIN+N = SIGRTMAX . |
|
on-click |
string | Command to execute when clicked on the module. | |
on-click-middle |
string | Command to execute when you middle clicked on the module using mousewheel. | |
on-click-right |
string | Command to execute when you right clicked on the module. | |
on-update |
string | Command to execute when the module is updated. | |
on-scroll-up |
string | Command to execute when scrolling up on the module. | |
on-scroll-down |
string | Command to execute when scrolling down on the module. | |
smooth-scrolling-threshold |
double | Threshold to be used when scrolling. |
#image
"image#album-art": {
"path": "/tmp/mpd_art",
"size": 32,
"interval": 5,
"on-click": "mpc toggle"
}
- Home
- Installation
- Configuration
- Styling
- Examples
- FAQ
- Modules:
- Backlight/Slider
- Backlight
- Battery
- Bluetooth
- CPU
- Cava
- CFFI
- Clock
- Custom
- DWL
- Disk
- Gamemode
- Group
- Hyprland
- Idle Inhibitor
- Image
- JACK
- Keyboard State
- Language
- Load
- MPD
- MPRIS
- Memory
- Network
- Niri
- Power Profiles Daemon
- Privacy
- PulseAudio/Slider
- PulseAudio
- River
- Sndio
- Sway
- Systemd failed units
- Taskbar
- Temperature
- Tray
- UPower
- User
- WirePlumber
- Workspaces
- Writing Modules