Drag, zoom, mirror and rotate your wallpaper inside each monitor's frame, or one picture across all of them, and save layouts for all your monitors. A GTK4 editor for awww and swww on Wayland.
Wallpaper daemons scale the image to fill the screen and cut off the parts that do not fit. They always keep the center. On a portrait monitor, a landscape image can lose more than half of its width, and often the part you wanted to see. wallframe shows the frame of each monitor over the image, so you can choose which part to keep.
Before: the daemon keeps the center, so the portrait monitors cut off the characters.
After: each monitor framed by hand with wallframe.
One of these, on Wayland:
- A compositor that awww or swww runs on: Hyprland, sway, niri, river, Wayfire and the like. It is tested on Hyprland.
- KDE Plasma 6. Plasma draws its own wallpaper, so wallframe sets it through Plasma, one per screen, without awww.
kscreen-doctor, part of Plasma, gives each screen its output name, scale and place. Tested on Plasma 6.7.
GNOME does not work: it shows one wallpaper across all monitors, and awww cannot draw one there.
It needs GTK 4.10 or newer, PyGObject, pycairo and Pillow, and outside Plasma, awww or swww.
Arch Linux. Everything is in the official repositories. On Plasma, leave out awww:
sudo pacman -S gtk4 python-gobject python-cairo python-pillow awwwFedora:
sudo dnf install gtk4 python3-gobject python3-cairo python3-pillowDebian 13 or newer, Ubuntu 24.04 or newer. Debian 12's GTK is too old:
sudo apt install gir1.2-gtk-4.0 python3-gi python3-gi-cairo python3-pilFedora, Debian and Ubuntu do not package awww or swww. On their Plasma editions nothing else is needed; with Hyprland, sway and the like, build awww from its source.
Optional:
- Hyprland or sway: wallframe opens on the focused monitor and shows the model of each monitor.
- Upscayl: the Upscale panel enlarges low-resolution images ×2, ×3 or ×4 before cropping, on one monitor or all of them at once. You can compare the result with the original at real size, and go back to the original at any time. It needs a Vulkan GPU, and the native package: on Arch,
upscayl-binfrom the AUR; elsewhere, the official .deb or .rpm. The Flatpak and AppImage do not work. libnotify: errors appear as notifications, which helps when you start wallframe without a terminal. On Hyprland, errors appear as Hyprland notifications even without it.
Clone the repository and run it. There is nothing to build:
git clone https://github.com/AlejandroMinor/wallframe.git
cd wallframe
./wallframeTo run it from anywhere as wallframe, link it into a folder in your PATH:
ln -s "$PWD/wallframe" ~/.local/bin/wallframeTo find it in your app launcher, with its icon in the taskbar instead of the generic Wayland one, link its desktop file and icons too:
ln -s "$PWD/data/io.github.AlejandroMinor.wallframe.desktop" ~/.local/share/applications/
mkdir -p ~/.local/share/icons/hicolor/scalable/apps ~/.local/share/icons/hicolor/symbolic/apps
ln -s "$PWD"/src/wallframe/icons/hicolor/scalable/apps/*.svg ~/.local/share/icons/hicolor/scalable/apps/
ln -s "$PWD"/src/wallframe/icons/hicolor/symbolic/apps/*.svg ~/.local/share/icons/hicolor/symbolic/apps/wallframe works best as a floating window, centered on the screen. Add a rule for its app ID, io.github.AlejandroMinor.wallframe.
Hyprland:
hl.window_rule({
name = "wallframe",
match = { class = "^(io.github.AlejandroMinor.wallframe)$" },
float = true,
center = true,
})sway:
for_window [app_id="io.github.AlejandroMinor.wallframe"] floating enable
| Action | Mouse / button | Key |
|---|---|---|
| Move | Drag | Arrows (Shift for bigger steps) |
| Zoom | Scroll, slider or − / + buttons |
+ / - |
| Center, keeping the zoom | C |
|
| Move the background instead of the image | Fill panel | B |
| Mirror / flip / rotate 90° | Toolbar | H / V / R |
| Reset to the original image, centered | Toolbar | 0 |
| Pick a wallpaper from your folder | Wallpapers button | W |
| Open an image from anywhere | Wallpapers panel, Open file…, or drop a file on the canvas | O |
| Discard changes since the last Apply | Toolbar | D |
| Copy from another monitor: everything, or just the fill | Toolbar | |
| Rule-of-thirds grid; in the span, also of the whole picture, and the desk's centimeters while arranging | Toolbar | G |
| Save or switch layouts | Layouts button, or the Layouts tab beside the canvas | |
| Next monitor, or the span | Monitor buttons | Tab |
| Arrange the monitors of the span as on your desk | Toolbar, in the span | M |
| Show the calibration guide on the span | Desk tools (the tools icon) | |
| Put the monitors back where the desktop has them | Desk tools (the tools icon), or 0 while arranging |
|
| Turn the selected monitor by its real angle | Keys, while arranging | . / , (Shift: 5°) |
| Tilt the selected monitor up or down | Keys, while arranging | < / > |
| Save or bring back where the monitors stand | Desk tab beside the canvas | |
| Apply to the marked monitors | Apply | Enter |
| Show all keyboard shortcuts | Keyboard button, bottom left | ? / F1 |
| Close | Esc |
Zoom below 100% to see more of the image, or to make it smaller than the monitor. The empty space around it is filled with a copy of the image, blurred as much as you like, or with a color. Both are in the Fill panel of the bottom bar. Check Move background there (or press B) to drag and zoom that copy instead of the image. The Export button (the arrow in the top bar) has two ways out. Export > Picture as it looks saves exactly what is on the canvas, with its fill, to use it elsewhere. Fill the empty space with an external AI is for when you would rather let an image AI paint the empty space: Picture and mask saves the picture with the empty space in one solid color, and a mask of that space. If the fill is blur, or your fill color is close to colors in the picture, wallframe asks first: you can cancel and pick another color, or continue, and then it uses the vivid color least present in your picture. It also warns when more than half of the picture is empty space, because the AI invents everything it paints there. Each notice says how much of the picture is empty. Copy the prompt copies a ready text with that color and the size of the picture. Give the AI the text and both files, and open the result with O. A color that is not in the picture lets the AI tell the empty space from the scene. An AI may retouch your picture, for example a text. If it must stay exact, use a tool that respects the mask: it fills only the white area. If the picture leaves no empty space, there is nothing to fill, and wallframe says so.
The Wallpapers panel (the pictures folder in the top bar, or W) shows the pictures in your wallpaper folder, newest first. Click one to put it on what you are editing: one monitor, or the span. It is centered and waits for Apply, so you can frame it first. Double-click one to apply it at once. The panel opens beside the canvas, so you can try one picture after another and see each one framed. It has a tab for each of Wallpapers, Layouts and, on the span, Desk; the Layouts button opens it on its tab. Drag the divider to make it wider or narrower; it opens that wide the next time. Esc closes it. The folder button at the top changes the folder; it starts in your Pictures folder. Open file… next to it opens a picture from anywhere else. Type in Search by name to show only the pictures whose name has every word you type. Check Subfolders to also show the pictures in the folders inside it; then the search looks at the folder names too. Thumbnails are kept in ~/.cache/wallframe/thumbnails, so the panel opens fast the next time. Those not shown in 30 days are deleted by themselves, and Clear in Settings deletes them all. Animated GIFs and videos are not listed.
A dot on a monitor button means that the monitor does not show your changes yet. Apply crops the image to the exact size of the monitor and sets it with awww (or swww) on that monitor only. The window stays open.
wallframe saves the crops in ~/.local/share/wallframe/. It does not use the cache folder, because the daemon loads the crops from there again at login. When you open wallframe again, each monitor starts from the original image with your last framing, so the image does not lose quality. Animated and video wallpapers are not supported.
The Layouts panel saves what every monitor shows: the picture and its framing. Each layout has a preview of your monitors as they stand on the desk (on Hyprland and sway; elsewhere side by side). Click a layout to show it on the monitors at once; the one they show is marked. Its menu renames it, saves the current wallpapers into it, duplicates it or deletes it. Random layout, below the list, switches to a random layout, never the one the monitors show now. Layouts point at your pictures: if one was moved or deleted, that monitor stays as it was and wallframe says why, with the path where the picture was. Replace picture… lets you choose another picture, and the layout keeps it with the same framing.
The Span button, after the monitor buttons, frames one picture across every monitor. The canvas shows your monitors where they stand on the desk, each with its own frame, over the picture. Drag, zoom, mirror, rotate, fill and upscale work as on one monitor. Apply gives each monitor its own piece, cropped at its own resolution, so a scaled 4K monitor next to a 1080p one stays sharp and lines up. Where no monitor is, as beside a portrait monitor that stands taller than the others, nothing shows.
Monitors of different sizes and resolutions line up too. wallframe reads each monitor's real size from its EDID, so the picture keeps the same size across a 27" 1440p and a 24" 1080p, and a line that crosses from one to the other does not jump. The status bar says "real sizes" when it could read them all, or "desktop sizes" when it could not. To match how the monitors really stand on your desk, see Matching the span to your desk.
Span needs to know where the monitors are, so it is there on Hyprland, sway and Plasma, with two monitors or more. A layout saved from the span brings the span back. Editing one monitor on its own takes that monitor out of the span; Apply on the span puts it back.
wallframe opens on the focused monitor, or on the span when the monitors show it. To start on a different monitor, give its output name: wallframe DP-1; for the span, wallframe span.
wallframe knows two things about your monitors: where the compositor puts them, and how big each panel is. It does not know how they really stand on your desk. Three things can differ, and each one shows in a different way:
| What differs | What you see across the join |
|---|---|
| Height. One monitor is higher or lower than the compositor says. | A line that crosses from one monitor to the next is higher on one side than on the other. |
| Gap. The bezels and the space between the screens are real room that the picture does not skip. | Something that crosses the join looks pulled apart: its two halves do not meet, as if a strip had been pasted in between. |
| Angle. A side monitor is turned toward you. | A straight line looks bent at the join, even when the picture is exact. |
The third one is the least obvious. A monitor turned 40° looks about 25% narrower from your chair, so what is drawn on it looks squeezed. The center monitor faces you and does not. No position on a flat canvas can fix that, so wallframe has an angle for each monitor, in degrees: it stretches the picture on that monitor to cancel the squeeze (step 3 below). Each monitor has its own angle to your eyes, so one side can look right while the other looks wrong. Judge the result from your chair.
All of this is done in the editor, while arranging, with the Arrange button or M. You never move the real monitors: you move their frames in the canvas.
- Show the guide. On the Span, press the Desk tools button (the tools icon) and choose Show the calibration guide, then Apply. It draws a grid in real centimeters, a white line through the middle and two diagonals. These lines are your ruler: they should look straight across every join.
- Height. Click the frame of a side monitor in the canvas and move it with the arrow keys (1 mm each, 10 mm with Shift) until the white line is one straight line across the join. Move the outer monitors and leave the center one alone.
- Angle. If the diagonals still look bent, give that monitor an angle:
.adds 1° and,removes 1° (:and;for 5°). A negative angle does the opposite. If a monitor leans back or forward,<and>do the same up and down. The angle also changes the separation between the monitors by itself. Step 4 fixes that. - Separation. Your real monitors have bezels, so there is a gap between the screens. In the canvas, the distance between two frames is that gap: it decides how much of the picture is skipped between them. Move the frame of the outer monitor with the left and right arrow keys, a few millimeters at a time, until what crosses the join looks like one picture. If it gets worse, go the other way.
- Save it. The Desk tab of the Layouts panel saves the places and the angles under a name. If a monitor moves later, bring the arrangement back with one click. Apply puts it on the monitors.
Everything you do here can feel backwards, whether it is the arrow keys, dragging a frame or an angle. A frame is a window over the picture, and you move the window, not what you see on the real screen. If you move a frame down, the monitor shows a lower part of the picture, so what you see on the screen goes up. If you give a monitor more angle, its frame gets narrower, so the screen shows a smaller part of the picture and what you see looks bigger.
Keep this order: height, angle, separation. Each step changes the next one, so doing them out of order means doing them twice.
The angle is a simple correction. It stretches the picture but does not model perspective, so lines still bend a little toward the far edge of a turned monitor, and it is only right from one seat. 0 while arranging, or Reset to default in the Desk tools menu, puts the monitors back where the compositor has them, with no angle.
A friendly tip. It will not be perfect, so do not chase perfection. Monitors are not as fixed as they look: you clean them, you show something to someone, you adjust them for any reason, and they never come back to the exact same place. Do not spend your time on these exact settings. A close result is enough.
Open Settings (the gear at the bottom left) to choose the transition and a command to run after the wallpaper changes, then press Save. Both are saved in ~/.config/wallframe/config.ini, so you can also edit the file by hand. wallframe reads it on each Apply, so you do not need to restart it.
[Settings]
transition_type = wipe
transition_duration = 1.5
transition_fps = 60
transition_step = 63
transition_angle = 30
wallpaper_folder = ~/Pictures/Wallpapers
wallpaper_subfolders = true
post_command = wallust run "$wallpaper"Transition. The effect awww or swww shows when the wallpaper changes. The list comes from your awww or swww version, so it shows every type that version has. The default is a 0.4 second fade.
| Setting | What it does |
|---|---|
| Duration | How many seconds it takes. simple and none ignore it. |
| Frames per second | How smooth it looks. Set it to your monitor's refresh rate, for example 60 or 144. Auto lets awww choose (30). |
| Step | How much the picture changes each frame, from 1 to 255. Low is smooth, high is sharp. Auto lets awww choose, which depends on the type. |
| Angle | The direction of wipe and wave, in degrees. |
KDE Plasma has no transitions, so the settings are greyed out there.
Command. post_command updates a color theme or anything else when the wallpaper changes. It uses the same name as waypaper. It runs once after each Apply or layout switch, when every monitor shows its new wallpaper. It runs in a shell, with these variables:
| Variable | Value |
|---|---|
$wallpaper or $WALLFRAME_WALLPAPER |
The picture, not the crop. With several monitors, the picture of the first one that changed. |
$WALLFRAME_MONITORS |
The monitors that changed, separated by commas, for example DP-1,HDMI-A-1. |
Leave it empty to run nothing. If the command fails, the status bar shows a warning, and the wallpaper stays as it is.
The tests cover everything except the window: framing, cropping, saved state and reading the daemon and compositor output. They do not need a display or a wallpaper daemon. If node is installed, the scripts wallframe sends to Plasma also run, against a stand-in for Plasma:
python -m venv --system-site-packages .venv
.venv/bin/pip install pytest
PYTHONPATH=src .venv/bin/pytestGPL-3.0-or-later. See LICENSE.








