Repository navigation
omamobile-shell 0.2.88, omamobile-apps 0.2.2, omamobile-omarchy 0.1.30: a screenshot's tap opens it in Loupe, images open in a touch viewer - #362
Merged
Conversation
Omarchy's image viewer, imv, reads no touchscreen input at all (its Wayland backend has only pointer and touchpad gestures), so on the phone an image it opened could be neither zoomed nor paged. GNOME Loupe fits each image to the window and takes pinch and double-tap zoom and a swipe to the next image; it is also the gallery the owner chose in TELEPHONY-APPS-PLAN (and omacam's gallery button already offers it). Loupe becomes a dependency, and /etc/xdg/mimeapps.list makes it the default for Omarchy's six image types. That list is read before Omarchy's /usr/share/applications/mimeapps.list and after the user's own lists, so a user's choice still wins, and each entry names imv after Loupe, so images still open while Loupe is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
…, one Image Viewer
A screenshot's toast ("Tap to edit") opens Omarchy's editor, Tensaku.
On the phone it came up as an 814x936 float on a 480 px wide screen,
with the screenshot cut off and the on-screen keyboard over it.
Omarchy floats Tensaku by class (default/hypr/apps/system.lua), not
through the floating-window tag phone.lua drops, so the maximize rule
didn't take. phone.lua now tiles and maximizes dev.tensaku.Tensaku, as
it does for Nautilus, and the canvas gets the screen.
The keyboard came from Tensaku's window taking focus through a GTK
input-method context: with the session's GTK_IM_MODULE=wayland that
asks for text input at once. OMARCHY_SCREENSHOT_EDITOR (Omarchy's own
setting, environment.d/30-omamobile-screenshot.conf) now names
omamobile-screenshot-edit, which runs Omarchy's tensaku-edit with GTK's
simple context: no text-input request, so the keyboard stays down, and
the text tool still takes keys from a keyboard shown by hand.
With omamobile-apps 0.2.1, Loupe's "Image Viewer" sits next to Omarchy's
imv entry of the same name in the drawer; omamobile-setup-user hides
the imv copy in the user's applications once, while Loupe is installed.
The screenshot flow itself stays Omarchy's: saved to ~/Pictures, copied
to the clipboard, a toast with the thumbnail, and the editor only on a
tap. Omarchy's notifications carry one click action, so separate Edit
and Share buttons would need a notification patch.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
#361 (phone apps in the image) also takes 0.2.1 and merges first, so the Loupe default moves to 0.2.2. Checked in the Arch Linux ARM build container: loupe 51.1-1 installs for aarch64 from extra. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
…opens it in Loupe On the phone, Tensaku can't be used by touch even maximized: most of the image is out of view, and it can be neither panned nor zoomed. So the screenshot toast's tap now opens the saved screenshot in Loupe, which fits it and takes pinch, double-tap, pan and swipe, and offers copy, share and delete. OMARCHY_SCREENSHOT_EDITOR stays the hook: it now names omamobile-screenshot-open, which Omarchy runs with the saved file's path and which runs `loupe <file>`, or, without Loupe, Tensaku through omamobile-screenshot-edit as before. Tensaku opened another way (the drawer, Loupe's Open With) keeps the maximize rule, and omamobile-setup-user gives its entry GTK's simple input-method context once, so the keyboard stays down there too. Patch 0020's touch wording for Omarchy's "Edit with ... (or click this)" becomes "Tap to view" (was "Tap to edit"); it still applies to Omarchy 4.0.6 with --fuzz=0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
derekross
added a commit
that referenced
this pull request
Nov 2, 2026
…le, not "after the firmware"
When the sensor isn't ready, setup now tells the three cases apart: the unit
failed or was refused on this boot ("unavailable on this boot", with the
journal to read, and the PIN unlocks), Google's files aren't there yet
("ready once your phone's firmware is added"), or it is still starting
(offered at the next login). Before, a refused unit was blamed on missing
firmware. Renumbered from 0.2.85: main is at 0.2.86, #362 holds 0.2.88, and
0.2.87 is left for #357.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
# Conflicts: # packages/omamobile-apps/PKGBUILD # packages/omamobile-apps/test/all # packages/omamobile-apps/version # packages/omamobile-shell/version
derekross
added a commit
that referenced
this pull request
Nov 3, 2026
… the Open-Meteo copies From the review of #366: - Today showed visibility about 3.3 times too large in imperial mode: with precipitation_unit=inch Open-Meteo answers visibility in feet (hourly_units.visibility "ft"). Today now converts from the unit the answer reports; wind and rain come in the units asked for and pressure is always hPa. The test has a feet fixture and a metres one. - "Town, Region" now picks the place as omamobile-weather's pick_place does (each part after a comma, US state codes read as states), since the lock screen reads Today's city too: "Springfield, IL" is Illinois in both. The test runs pick_place on the same answers. - Not every copy asks for approval again: approvals compare command strings, and air and pollen and planes overhead kept theirs. The package README and the owl-review note now say which five ask. - overrides/LICENSE carries the store's MIT licence, and each copy's first line names the store file and commit it was modified from. - Omaprayer's "auto" asks for a city instead of showing Jakarta's prayer times. - A comment says why the geocoding and first forecast requests always go out (the fixed host the approval sheet names). omamobile-shell takes 0.2.90: main has 0.2.88 (#362) and #358 holds 0.2.89. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
robertzas
pushed a commit
to robertzas/omarchy-mobile
that referenced
this pull request
Nov 14, 2026
…0: a screenshot's tap opens it in Loupe, images open in a touch viewer (derekross#362) On the phone a screenshot's toast now says "Tap to view" and opens the shot in Loupe (touch zoom, pan, share, delete); Tensaku, a desktop editor, is only the fallback when Loupe is missing. Tensaku opened any other way is maximized (Omarchy floats it by class) and runs without asking for text input, so the on-screen keyboard stays down. Loupe becomes the default image viewer (omamobile-apps depends on it; /etc/xdg/mimeapps.list), and imv's duplicate drawer entry is hidden once. omamobile-shell 0.2.88, omamobile-apps 0.2.2, omamobile-omarchy 0.1.30 (patch 0020 wording). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On the 7 Pro (2026-11-02), tapping a screenshot's toast opened Tensaku as an 814x936 float on the 480 px wide screen. The screenshot was cut off and the on-screen keyboard came up over it. Omarchy's image viewer, imv, doesn't respond to the touchscreen at all.
Screenshot flow: the toast's tap opens Loupe
Omarchy never opens Tensaku by itself.
omarchy-capture-screenshotsaves the file to~/Pictures, copies it to the clipboard and shows a toast with the thumbnail. The toast's one click action runs$OMARCHY_SCREENSHOT_EDITOR <saved file>.Tested on the phone: Tensaku isn't usable by touch even maximized (most of the image out of view, no pan or zoom). So on the phone
environment.d/30-omamobile-screenshot.confsetsOMARCHY_SCREENSHOT_EDITOR=omamobile-screenshot-open. That wrapper runsloupe <file>(fitted, with touch zoom, pan and swipe, plus Loupe's copy, share and delete). Without Loupe it falls back to Tensaku throughomamobile-screenshot-edit. Patch 0020's phone wording for the toast becomes "Tap to view" (was "Tap to edit"); it still applies with--fuzz=0, hence omamobile-omarchy 0.1.30. Separate Edit and Share buttons would still need a notification patch, since Omarchy's toasts carry one action.Tensaku when it is opened (Open With, the drawer, or no Loupe)
default/hypr/apps/system.luafloatsdev.tensaku.Tensakuby class (float = true,center = true). It doesn't use thefloating-windowtag, so phone.lua's tag drop missed it.phone.luanow gives itfloat = false, maximize = true(the Nautilus pattern). There's a check for it intest/phone-rules.lua.GTK_IM_MODULE=wayland, that focus asks for text input straight away, so squeekboard shows.omamobile-screenshot-edit(the fallback) runs Omarchy'stensaku-editwithGTK_IM_MODULE=gtk-im-context-simple, so there's no text-input request. Keys still arrive as key events, so the text tool works with the keyboard shown by hand (double-tap the pill, or the Keyboard tile).omamobile-setup-usergives Tensaku's own entry (drawer, Loupe's Open With) the same context once, through a copy in the user's applications.Image viewer
imv.desktop(skeleton copy in~/.local/share/applications;imv %F). imv already fits by default (scaling_mode = full), and on the phone it's maximized (the tag drop). Butimv-waylandbinds nowl_touch: only pointer and touchpad gestures. So on a touchscreen there's no pan, zoom or next image, and no config can add that.loupebecomes a dependency (the gallery choice in TELEPHONY-APPS-PLAN; omacam already offers it)./etc/xdg/mimeapps.listmakesorg.gnome.Loupe.desktop;imv.desktop;the default for Omarchy's six image types. That list is read before Omarchy's/usr/share/applications/mimeapps.listand after the user's own lists. imv is the fallback when Loupe is missing. Loupe fits the image to the window and handles pinch and double-tap zoom and swiping to the next image. The general maximize rule covers its window.omamobile-setup-userhides the user's imv "Image Viewer" copy once, and only while Loupe is installed, so the drawer lists one Image Viewer. imv stays installed.Versions
Shell 0.2.88: 0.2.83/0.2.85/0.2.86 are taken by #357/#358/#359, and 0.2.87 is held for the weather-widgets PR. omamobile-apps 0.2.2 (#361 takes 0.2.1 and merges first; expect a small rebase). omamobile-omarchy 0.1.30 (0.1.29 is #357).
Tests
packages/omamobile-shell/test/all(phone-rules check, the wrappers against fakeloupeandtensaku-edit, the Tensaku entry override, the install staging, setup-user hiding imv once and keeping a user's choice),packages/omamobile-apps/test/all,packages/omamobile-omarchy/test/all(0020 against the real Omarchy),tests/allandtools/pr-check origin/main: all pass. Not tried on the phone. I didn't run a nested Hyprland.On the phone
pacman -Q, then log out and in (environment.d).systemctl --user show-environment | grep SCREENSHOTshould show the wrapper.hyprctl clientsfor it.loupe51.1-1 installs for aarch64 from Arch Linux ARMextra(checked in the project build container,pacman -Sp).🤖 Generated with Claude Code
https://claude.ai/code/session_01BeEcdVeSfyLCbijF8XQF1d