Skip to content

Latest commit

 

History

22 Commits

Folders and files

Repository files navigation

Photo Commander: Opinionated Config

💻 PowerShell Installer

stage powershell-7 language


Photo Commander is the dotfiles layer I actually keep. It favors sensible defaults over endless knobs, because a config you have to babysit is a config you'll abandon. Everything here is tinker-accessible: read it, fork it, strip what you don't need. If a setting survives six months of daily use, it earns its place; the rest gets cut.

✅ Requirements

  • OS: Windows 10 / 11
  • Shell: PowerShell 5.1+ or PowerShell 7+
  • Network: internet access to download the script
  • Privileges: standard user

Features

Single-file config: one dotfile, no include chains, no generated fragments to hunt down.

  • Zero-daemon design: the shell hooks are plain text you can read in under a minute.
  • Profile switching built in: swap entire keybind sets with a single toggle, no script surgery.
  • Sensible defaults that survive updates: your overrides live in a clearly marked block the tool never rewrites.
  • Fast startup: config parsing stays under a few milliseconds on a cold shell.
  • Keybind map is self-documenting — every action has a readable name, no cryptic single-letter soup.
  • Advanced modifiers exposed as named flags instead of buried environment variables.
  • Fail-loud validation: bad syntax gets a line number and a plain-English message, not a silent fallback.

Keybinds

Space — toggle the command palette.

  • Ctrl+P — open the photo-commander project switcher.
  • Ctrl+Shift+P — open advanced modifiers for the active workspace.
  • Ctrl+S — save the current workspace state.
  • Ctrl+Z / Ctrl+Y — undo / redo the last operation.
  • Ctrl+F — filter the current view.
  • Ctrl+, — open the configuration panel.
  • F1 — show the quick reference overlay.
  • F5 — refresh the active view.
  • Esc — dismiss the current overlay or return to the previous view.

Bindings are intentionally minimal; anything beyond this set belongs in user config, not the default layout.

Advanced Modifiers

Modifiers stack in declaration order. Later entries win ties. If you need to know why a setting lost, stop guessing and read the resolution trace — it is logged, ordered, and short.

  • Scope tags (global, workspace, session) decide blast radius. Default to session. Promote only after the override proves itself twice.
  • Conditional gates (when, unless) evaluate once at load. They do not re-evaluate mid-session. Restart if that bothers you.
  • Precedence pins (pin first, pin last) are for the two or three settings that actually fight. Pinning everything is the same as pinning nothing.
  • Layered profiles compose left to right: base < profile < local. Local always speaks last. Keep local thin.
  • Dry-run mode prints the resolved configuration without applying it. Use it before touching anything you cannot undo.

Rules of thumb: one modifier per concern, names that state intent, and no modifier whose only purpose is to undo another. If two modifiers exist to cancel each other, delete both.

FAQ

Is Photo Commander truly portable? Yes. Every setting lives in a single directory beside the binary. Move the folder, keep your layout, keybinds, and presets. No registry, no user-profile sprawl.

Why no plugin marketplace? Plugins rot. Photo Commander ships a fixed, curated toolset instead. If a feature is missing, it is missing on purpose — fewer moving parts, fewer surprises.

Can I sync my config across machines? Point the config directory at any synced folder you already trust. That is the whole sync story. No account, no cloud service baked in.

Do the advanced modifiers require a paid tier? No tiers, no upsells. The advanced modifiers are enabled out of the box for every user — everything in this build is openly available.

What happens when the app updates? Your config is never touched by an update. Back it up anyway; good habits cost nothing.

Is there a GUI settings editor? Every option is a plain text key. Edit it, reload, done. The GUI covers the common cases and stays out of your way for the rest.

Why do some keybinds conflict with my window manager? Because we assume a keyboard-first workflow and bind aggressively. Remap them — the config format is flat and readable, and the advanced modifiers let you layer your own chord schemes on top.

Can I run it from a USB stick? Yes. Same reason as portability: one directory, zero install footprint, no traces left behind.

Something broke after I edited the config. How do I recover? Restore your backup, or delete the offending key — unknown keys are ignored, malformed ones are reported on launch with the line number. The app never silently rewrites your file.

Does Photo Commander phone home? No telemetry, no analytics, no background pings. It opens photos, not connections.

License

Photo Commander is released under the MIT License. Use it, modify it, ship it — commercially or otherwise — as long as the copyright notice and permission notice travel with it. No warranty, no liability, no strings. Fork it, bend it, make it yours; just don't strip the attribution.