mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
* improve: uniquely identify btop when launched from waybar. * align btop app id * add migration to uniquely identify btop * also add unique app ids to lazydocker and terminal editor * introduce new omarchy-launch-tui that sets class. * align all the tuis and behaviour in waybar * update migration accordingly * fixes * separate terminal from tui * fix: double setsid uswm-app -- * Standardize namespace on org.omarchy and lowercase --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
13 lines
217 B
Bash
Executable File
13 lines
217 B
Bash
Executable File
#!/bin/bash
|
|
|
|
omarchy-cmd-present "$EDITOR" || EDITOR=nvim
|
|
|
|
case "$EDITOR" in
|
|
nvim | vim | nano | micro | hx | helix)
|
|
exec omarchy-launch-tui "$EDITOR" "$@"
|
|
;;
|
|
*)
|
|
exec setsid uwsm-app -- "$EDITOR" "$@"
|
|
;;
|
|
esac
|