Add basic done script
This commit is contained in:
parent
c6dbc93126
commit
d8db850031
2 changed files with 14 additions and 1 deletions
|
@ -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"
|
||||
```
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue