mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-02 04:37:49 +02:00
16 lines
395 B
Bash
Executable File
16 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Open a config file in the user's editor and surface a toast
|
|
# omarchy:args=<path>
|
|
# omarchy:examples=omarchy launch config-editor ~/.config/hypr/hyprland.lua
|
|
|
|
path="${1-}"
|
|
|
|
if [[ -z $path ]]; then
|
|
echo "Usage: omarchy-launch-config-editor <path>" >&2
|
|
exit 1
|
|
fi
|
|
|
|
omarchy-notification-send -u low "Editing config file" "$path"
|
|
exec omarchy-launch-editor "$path"
|