Files
omarchycn/install/config/mimetypes.sh
T
Ryan Hughes 89242fafc6 Ship mimeapps.list via /etc/skel; shrink mimetypes.sh
config/mimeapps.list ships at /etc/skel/.config/mimeapps.list (via
omarchy-settings's existing config/** -> /etc/skel/.config copy).
New users get the full Omarchy MIME defaults on first login without
running install scripts.

install/config/mimetypes.sh shrinks to two runtime ops that a static
file can't replace:
- omarchy-refresh-applications: copies .desktop entries and icons into
  the user home and refreshes the desktop database
- xdg-settings set default-web-browser chromium.desktop: sets the
  system-default browser; omarchy-install-browser overrides this if
  the user later picks a different browser.
2026-06-04 18:34:04 -04:00

8 lines
407 B
Bash

# MIME default mappings now ship as config/mimeapps.list (via /etc/skel for
# new users; existing users keep their own). This script only handles the
# runtime side: refresh applications and set Chromium as the system default
# web browser. (omarchy-install-browser overrides this if the user picks
# something else later.)
omarchy-refresh-applications
xdg-settings set default-web-browser chromium.desktop