franciscolourenco / Done

Licence: mit
A fish-shell package to automatically receive notifications when long processes finish.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Done

dotfiles
Dotfiles for Neovim (0.7+), Fish shell, git, Kitty, tmux, and more.
Stars: ✭ 54 (-86.29%)
Mutual labels:  fish, fish-shell
AwsTerm
A collection of awesome terminal utilities
Stars: ✭ 37 (-90.61%)
Mutual labels:  fish, fish-shell
fish-symnav
Symbolic link navigation for Fish shell
Stars: ✭ 11 (-97.21%)
Mutual labels:  fish, fish-shell
fish-color-scheme-switcher
A fish shell 🐟 plugin to switch color schemes 🌈
Stars: ✭ 48 (-87.82%)
Mutual labels:  fish, fish-shell
dotpr0n
Dotfiles for macOS, FreeBSD, fish, tmux, custom functions and lots more. Peekaboo!
Stars: ✭ 44 (-88.83%)
Mutual labels:  fish, fish-shell
sublime-fish
A robust Sublime Text syntax package for fish
Stars: ✭ 32 (-91.88%)
Mutual labels:  fish, fish-shell
fishline
A powerline prompt framework for the fish-shell built in fish-shell.
Stars: ✭ 66 (-83.25%)
Mutual labels:  fish, fish-shell
Zoxide
A smarter cd command. Supports all major shells.
Stars: ✭ 4,422 (+1022.34%)
Mutual labels:  fish, fish-shell
dotfiles
❤ ~/.🛠🐈 the daily jam 🍞🥜🍇🍞
Stars: ✭ 55 (-86.04%)
Mutual labels:  fish, fish-shell
fish-kube-prompt
⎈ kubectl context/namespace in your fish shell prompt
Stars: ✭ 71 (-81.98%)
Mutual labels:  fish, fish-shell
Dtags
Directory Tags for Lazy Programmers
Stars: ✭ 351 (-10.91%)
Mutual labels:  fish, fish-shell
fish logo
🐠 Fish shell colorful ASCII-art logo
Stars: ✭ 82 (-79.19%)
Mutual labels:  fish, fish-shell
agnoster
Agnoster for Fish 🐠
Stars: ✭ 42 (-89.34%)
Mutual labels:  fish, fish-shell
fish
Fish config with awesome flexible prompt, unicode symbols, better fzf integration and lot of handy functions.
Stars: ✭ 27 (-93.15%)
Mutual labels:  fish, fish-shell
Pisces
♓️ Fish shell plugin that helps you to work with paired symbols in the command line
Stars: ✭ 210 (-46.7%)
Mutual labels:  fish, fish-shell
dotfiles
macOS / Linux / Codespaces dotfiles with 1-line setup script. Tested on Apple Silicon Macs. Supports both zsh and fish. Now managed with https://github.com/twpayne/chezmoi
Stars: ✭ 82 (-79.19%)
Mutual labels:  fish, fish-shell
Dotfiles
My personal dotfiles.
Stars: ✭ 162 (-58.88%)
Mutual labels:  fish, fish-shell
Plugin Nvm
Node version manager wrapper for Fish shell
Stars: ✭ 173 (-56.09%)
Mutual labels:  fish, fish-shell
dotfiles
~nickTD
Stars: ✭ 13 (-96.7%)
Mutual labels:  fish, fish-shell
fish-exa
🐟 exa aliases for fish
Stars: ✭ 24 (-93.91%)
Mutual labels:  fish, fish-shell

done

A fish shell package to automatically receive notifications when long processes finish.

Stability: Stable Release version fish >=2.3.0 License: MIT


Just 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.

Installation

Using Fisher

fisher install franciscolourenco/done

Manually

curl -Lo ~/.config/fish/conf.d/done.fish --create-dirs https://raw.githubusercontent.com/franciscolourenco/done/master/conf.d/done.fish

Dependencies

  • If you want notifications with icons on macOS, please install terminal-notifier with
brew install terminal-notifier
  • If you are using https://swaywm.org please install jq.

  • If you are using Windows Subsystem for Linux (WSL) you may need to install wslu, but usually it is pre-installed.

Updating

fisher update franciscolourenco/done

Settings

Only display notifications if a command takes more than a certain amount of time

set -U __done_min_cmd_duration 5000  # default: 5000 ms

Prevent specific commands from triggering notifications. Accepts a regex.

This is useful to exclude commands like git commit for instance, 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)'  # default: all git commands, except push and pull. accepts a regex.

Execute a custom command instead of showing the default notifications. The done notification title and message can also be passed.

set -U __done_notification_command "your-command \$title \$message"

Play sound when showing notifications.

set -U __done_notify_sound 1

When using sway, do not show notifications for visible windows.

set -U __done_sway_ignore_visible 1

For Linux, set the urgency level for notifications sent via notify-send (low, normal, critical).

set -U __done_notification_urgency_level critical

Allow notifications to be sent on systems without graphical capabilities. Note this requires you to also set __done_notification_command.

set -U __done_allow_nongraphical 1

Support

  • fish 2.3.0+
  • macOS 10.8+ via Notification Center.
  • Linux via notify-send. Otherwise bell sound is played.
  • Windows 10 via Windows Subsystem for Linux (WSL) and PowerShell.

Credits

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

Done is MIT licensed. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].