my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
985 B

3 years ago
  1. # zbell plugin
  2. This plugin prints a bell character when a command finishes if it has been
  3. running for longer than a specified duration.
  4. To use it, add `zbell` to the plugins array in your zshrc file:
  5. ```zsh
  6. plugins=(... zbell)
  7. ```
  8. ## Settings
  9. These settings need to be set in your zshrc file, before Oh My Zsh is sourced.
  10. - `zbell_duration`: duration in seconds after which to consider notifying
  11. the end of a command. Default: 15 seconds.
  12. - `zbell_ignore`: if there are programs that you know run long that you
  13. don't want to bell after, then add them to the `zbell_ignore` array.
  14. By default, `$EDITOR` and `$PAGER` are ignored:
  15. ```zsh
  16. zbell_ignore=($EDITOR $PAGER)
  17. ```
  18. - `zbell_use_notify_send`: If set to `true`, `notify-send` tool is used -- if
  19. available -- to display a popup on the screen. Default: `true` (enabled).
  20. ## Author
  21. Adapted from an original version by [Jean-Philippe Ouellet](https://github.com/jpouellet).
  22. Made available under the ISC license.