Skip to content

Genie Animation for Peek

Jace edited this page Dec 2, 2026 · 3 revisions

Dia 1.59 includes its own Peek, and this tweak gives it the Genie from DiaTweaks' own Peek card. The card warps out of the link you clicked and back into it when you close, while the page behind darkens. It sits on Dia's built-in Peek, which is rolling out in Dia 1.59 Early Birds and later, with Shift-click Peek turned on in Dia → Settings → Tabs.

Use it

Shift-click a link, and the card warps out of it, bending as it travels like a window going into the Dock. The page behind dims while the card is up. If you tug the card away with a scroll, the page brightens as it comes, so nothing jumps when it closes. Expand the card into a tab or a split and the page grows from the card instead of appearing at once.

Why use it

Dia's own Peek already grows from the link, so this isn't about where the card comes from. It's how it gets there: the Genie bends the card on the way, the dimming sets it apart from the page, and the page no longer snaps into its tab when you expand it. Turn it off if you'd rather Peek stay a plain resize.

Turn it on

Open Dia → Settings → Patches, find Links, and turn on Genie Animation for Peek. Or run:

diatweaks enable peekAnimation

Dia's own Peek has to be on too: in Dia → Settings → Tabs, turn on Open Peek when clicking links with Shift held. On a version of Dia without its own Peek, Settings reads Unavailable on this Dia version and leaves the switch off.

Options

On the same page, under Options:

Option What it does To begin with
Genie Effect The card bends out of the link and back into it. Switch it off to keep Dia's straight growth from the link On
Darken the page behind How dark the page behind the card gets, from 0% to 100% 45%
Speed How fast the card opens and closes, from 25% to 300% 90%

The animation asks for up to 120 Hz, so it stays smooth on a ProMotion display and runs at the screen's own rate elsewhere.

With Reduce Motion on in System Settings → Accessibility → Display, Dia shows Peek without its usual springs, and this tweak follows: the card appears and closes without the warp, and the page behind is dimmed while it's open.

Works with

AI Side Chat in Peek, Preload Peek on Hover, Show Peek Indicator on Tabs, Hide URL Bar in Peek, Drag Links to Peek and Peek from Pinned Tabs build on the same built-in Peek. The Genie plays as usual with any of them on: Drag Links to Peek warps the card out of the link you dragged from, and Preload Peek on Hover usually has the page ready as the card lands.

FAQ

Does this animate DiaTweaks' own Peek card?

No. DiaTweaks' card has its own Genie setting on Peek on Shift-Click, and the card is deprecated in 1.2. This page is only about Dia's built-in Peek.

I turned it on but Peek looks the same.

Check that Dia opens Peek at all: Shift-click a link and see whether a card appears. If it doesn't, turn on Open Peek when clicking links with Shift held in Dia → Settings → Tabs. If Dia has no Peek of its own yet, this tweak waits for a version that does.

Can I keep the dimming without the warp?

Yes. Turn Genie Effect off and the card grows straight out of the link with the same dimming and speed. Set Darken the page behind to 0% to drop the dimming instead.

All tweaks

Clone this wiki locally