xyzlab/ omarchy plugins

xyzlab / xyzlab.omafile

Omafile

Omafile opens as a real window with tabs and dual panes, watches directories live, copies and moves in the background with progress, and puts places, drives, transfers and trash in the bar. It follows GNOME Files conventions, so the shortcuts you already know work.

v1.0.0servicebar-widgetpanelToolsMIT
Omafile in the current theme

Screenshots

In Tokyo Night. Press T for the next theme.

What it does

A file manager that lives in the shell.

A real window

Resizable, tabbed, floating or tiled, or a popup panel centred over the desktop that closes when you click away. Switch between the two from Settings or the command line, even while it is open.

Dual panes

F6 splits the window. Tab hops between panes, Ctrl+Shift+C and Ctrl+Shift+M copy and move to the other side with one key.

Live directories

External changes appear the moment they happen. No refresh, no stale listings.

Background transfers

Copies and moves run in a helper process with persistent progress. The bar icon shows a ring while they run, and conflicts ask what to do.

Trash that counts

Freedesktop trash compatible with GNOME Files, with undo for trash, rename, move, copy and new items. An optional trash can in the bar shows a live count across every trash directory on the system.

List and grid

Ctrl+1 and Ctrl+2 switch views. Grid view shows image previews, list view shows size, type and modified.

Search and filter

Just type to filter the folder you are in. Ctrl+F searches everything inside it.

Network drives

Connect to SMB, SFTP, FTP and WebDAV through GVFS. Servers you have used before are one click away, and advertised servers appear alongside them.

Places in the bar

The bar widget opens the file manager, jumps to a place or a drive, watches transfers and empties the trash.

Default file manager

One switch makes folders opened from other apps land in Omafile, and Show in folder opens the containing folder with the file selected.

Install

Add it to the bar.

omarchy plugin add https://github.com/chr0nzz/omarchy-omafile.git --enable --yes

Update later with omarchy plugin update xyzlab.omafile. Remove with omarchy plugin remove xyzlab.omafile.

Needs

Requirements

  • Omarchy 4
  • Python 3, included with Omarchy
  • util-linux lsblk and findmnt
  • Optional udisksctl for ejecting drives
  • Optional gvfs and gvfs-smb for network servers

Keyboard

Hands stay on the keys.

KeysAction
EnterOpen the selected item
Backspace / Alt+UpGo to the parent folder
Alt+Left / Alt+RightBack and forward
Ctrl+L, / or ~Type a path
Ctrl+T / Ctrl+WNew tab and close tab
F6Split into two panes
TabSidebar, or the other pane when split
Ctrl+Shift+C / Ctrl+Shift+MCopy and move to the other pane
Ctrl+1 / Ctrl+2List and grid
Ctrl+HShow hidden files
Ctrl+F, or just typeSearch in this folder
Ctrl+C / Ctrl+X / Ctrl+VCopy, cut and paste
Ctrl+Z / Ctrl+Shift+ZUndo and redo
F2Rename
Ctrl+Shift+N / Ctrl+NNew folder, new file
Delete / Shift+DeleteMove to trash, delete permanently
Ctrl+DBookmark this folder
Ctrl+CommaSettings
F1The shortcut list
Ctrl+Q / EscapeClose the window

Settings

Set from the bar, or the CLI.

Every key below is a bar widget setting. Change it from the Omarchy bar settings, from the plugin's own settings editor, or with omarchy bar set xyzlab.omafile <key> <value>.

KeyPurpose
homePathDefault directory when opening Omafile
showHiddenShow hidden files and folders by default
sortBySort by name, size, modified or type
sortDirsFirstList directories before files
confirmDeletePrompt before deleting items
useTrashSend deleted items to trash instead of deleting
defaultViewStart in list or grid view
terminalTerminal command to open in the current directory
editorText editor command for selected files
showTransferBadgeProgress ring on the bar icon while a transfer runs
showDrivesShow the Drives section in the sidebar
thumbnailsImage previews in grid view
windowModeOpen as a window or a popup
modefiles for the file manager icon, trash for a trash can
trashConfirmAsk before a right click empties the trash
glyphCustom icon for the bar widget

Scripting

Talk to it from a script.

Every plugin registers an IPC target with the shell, so a keybinding, a hook or a cron job can drive it.

omarchy-shell omafile open /path/to/directory
omarchy-shell omafile reveal /path/to/file
omarchy-shell omafile trash /path/to/item
omarchy-shell omafile windowmode popup
omarchy-shell omafile trashicon on
omarchy-shell shell toggle xyzlab.omafile '{}'