Files
blomarchy/bin/blob-launch-config-editor

16 lines
368 B
Bash
Executable File

#!/bin/bash
# blob:summary=Open a config file in the user's editor and surface a toast
# blob:args=<path>
# blob:examples=blob launch config-editor ~/.config/hypr/hyprland.lua
path="${1-}"
if [[ -z $path ]]; then
echo "Usage: blob-launch-config-editor <path>" >&2
exit 1
fi
blob-notify-send -u low "Editing config file" "$path"
exec blob-launch-editor "$path"