Fork the desktop off Omarchy as a self-contained system

This commit is contained in:
2026-09-19 23:50:39 -04:00
parent 16a56f49a1
commit 9501f2bb4d
559 changed files with 43273 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/bin/bash
# blob:summary=Launch the default editor selected via Blob defaults.
# blob:args=[--inline] <path>
default_editor="$HOME/.local/state/blob/defaults/editor"
if [[ ${1:-} == "--inline" ]]; then
inline=true
shift
else
inline=false
fi
if [[ -f $default_editor ]]; then
read -r editor <"$default_editor"
else
editor="nvim"
fi
blob-cmd-present "$editor" || editor="nvim"
case "${editor##*/}" in
nvim | vim | nano | micro | hx | helix | fresh)
if [[ $inline == "true" ]]; then
exec "$editor" "$@"
else
exec blob-launch-tui "$editor" "$@"
fi
;;
*)
exec setsid uwsm-app -- "$editor" "$@"
;;
esac