Add basic done script

This commit is contained in:
Alex 2024-02-26 09:29:37 +01:00
parent c6dbc93126
commit d8db850031
Signed by: l-x
GPG key ID: 0B7107C9393169F4
2 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,6 @@
```sh
set -U fish_greeting
fish_config theme choose 'Tomorrow Night Bright'
fish_config theme save
@ -11,5 +12,8 @@ fisher install franciscolourenco/done
fisher install acomagu/fish-async-prompt
fisher install pure-fish/pure
starship preset pure-preset -o ~/.config/starship.toml
# starship preset pure-preset -o ~/.config/starship.toml
set -U __done_allow_nongraphical 1
set -U __done_notification_command "_ntfy_done \$title \$message"
```

View file

@ -1,3 +1,12 @@
function _ntfy_done -a title message
ntfy send \
--quiet \
--title "$title" \
--tags "$(hostname)",computer \
https://push.pnyhf.eu/terminal \
"$message"
end
# Skips non-existing and already known paths
fish_add_path \
~/.local/bin \