dotfiles
Poom's Neovim, Tmux, Fish and other configurations for macOS & Linux. Literally my entire world.
A fish-shell package to automatically receive notifications when long processes finish.
git clone https://github.com/franciscolourenco/done.gitfranciscolourenco/doneJust go on with your normal life. You will get a notification when a process takes more than 5 seconds finish, and the terminal window not in the foreground.
After installing you could type, for instance sleep 6, and start using other app. After 6 seconds you should get a notification.
fisher install franciscolourenco/done
curl -Lo ~/.config/fish/conf.d/done.fish --create-dirs https://raw.githubusercontent.com/franciscolourenco/done/master/conf.d/done.fish
Install the fish-done package from AUR.
yay -S fish-done
terminal-notifier withbrew install terminal-notifier
If you are using https://swaywm.org or niri, please install jq.
If you are using Windows Subsystem for Linux (WSL) you may need to install wslu, but usually it is pre-installed.
fisher update franciscolourenco/done
set -U __done_min_cmd_duration 5000 # default: 5000 ms
It accepts a list of regex patterns.
This is useful to exclude commands like for instance git commit, since it could trigger unwanted notifications if it is configured to use an external editor. This is also useful with set -U __done_allow_nongraphical 1 to prevent notifications for commands normally run interactively that you do not want to get done notifications for.
set -U __done_exclude '^git (?!push|pull|fetch)' # default: all git commands, except push and pull. accepts a regex.
You can add more exclude patterns to the existing ones by using the --append option:
set -U --append __done_exclude '^emacsclient'
done notification title and message can also be passed.set -U __done_notification_command "your-command \$title \$message"
set -U __done_notify_sound 1
sway, do not show notifications for visible windows.set -U __done_sway_ignore_visible 1
set -U __done_notification_urgency_level low set -U __done_notification_urgency_level_failure normal
__done_notification_command.set -U __done_allow_nongraphical 1
You need to install jq.
In kitty.conf (change "kitty-rc-password" to your liking):
remote_control_password "kitty-rc-password" ls allow_remote_control password
In fish
set -U __done_kitty_remote_control 1 set -U __done_kitty_remote_control_password "kitty-rc-password"
set -U __done_notification_duration 5000 # 5 seconds
notify-send. Otherwise bell sound is played.This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
Done is MIT licensed. See LICENSE for details.
more like this
Poom's Neovim, Tmux, Fish and other configurations for macOS & Linux. Literally my entire world.
A collection of dotfiles. I hope you can find some treasure in here just like how I did with other dotfiles
Universal Inbox allows you to manage all your notifications in a single place and convert them into tasks
search projects, people, and tags