A KDE Plasma widget that displays images or GIFs on your desktop with rounded corners and no borders. (build with AI)
- 📷 Display static images (PNG, JPG, BMP, SVG, WebP)
- 🎬 Animated GIF support
- 🔘 Customizable corner radius
- 🎨 Clean UI with no borders
- ⚙️ Easy configuration via widget settings
- Clone or extract this project:
cd KDE-Image-Widget- Build and install:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$(kf6-config --prefix) ..
make
make install- Restart Plasma or restart your session:
kquitapp6 plasmashell && plasmashell &- Right-click on your desktop and select "Add Widget" → search for "Image Widget"
- Create the widget directory:
mkdir -p ~/.local/share/plasma/plasmoids/org.kde.image-widget- Copy the contents:
cp -r . ~/.local/share/plasma/plasmoids/org.kde.image-widget/- Restart Plasma:
kquitapp6 plasmashell && plasmashell &- Add the widget to your desktop
- Drag and Drop the Image or GIF to the widget
- The widget will display your image with the configured rounded corners
- Static Images: PNG, JPG, JPEG, BMP, SVG, WebP
- Animated: GIF
The widget stores settings in:
~/.config/plasmashellrc under the widget's configuration group
imagePath: Full path to the image or GIF filecornerRadius: Corner radius in pixels (0-50, default: 20)
You can edit contents/ui/main.qml to customize:
- Default widget size (modify
widthandheight) - Image fill mode (PreserveAspectCrop, PreserveAspectFit, etc.)
- Default corner radius
- Colors and styling
- KDE Frameworks 6+
- Qt 6+
- KDE Plasma 6+
GPL v3
- Click on the widget to open the configuration dialog if no image is selected
- GIF animations play automatically
- The widget preserves aspect ratio and crops images to fit the widget size
- No borders are displayed by default for a clean look