https://github.com/lpenz/zsh-notify-urxvt
Desktop notification for long-running commands in zsh using urxvt-ext-notify-osc
https://github.com/lpenz/zsh-notify-urxvt
Last synced: 3 days ago
JSON representation
Desktop notification for long-running commands in zsh using urxvt-ext-notify-osc
- Host: GitHub
- URL: https://github.com/lpenz/zsh-notify-urxvt
- Owner: lpenz
- License: mit
- Created: 2018-09-11T21:16:02.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-10T14:57:19.000Z (6 months ago)
- Last Synced: 2025-04-03T10:04:52.899Z (about 1 month ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
[](https://github.com/lpenz/zsh-notify-urxvt/actions/workflows/ci.yml)
zsh-notify-urxvt
================Desktop notification for long-running commands in zsh
using [urxvt-ext-notify-osc](https://github.com/lpenz/urxvt-ext-notify-osc)When a command takes more than 3s to run, this plugin triggers the notify-osc
urxvt perl extension, which shows a desktop notification and raises the urgency
hint of the window. This plugin works even on remote shells (no X forwarding
required) and under [tmux](https://github.com/tmux/tmux).This is, in essence, a companion zsh plugin for [urxvt-ext-notify-osc](https://github.com/lpenz/urxvt-ext-notify-osc).
## Requirements
- [urxvt](http://software.schmorp.de/pkg/rxvt-unicode.html) ([rxvt-unicode](https://packages.debian.org/search?keywords=rxvt-unicode) in Debian)
- [urxvt-ext-notify-osc](https://github.com/lpenz/urxvt-ext-notify-osc)
- [xseturgent](https://github.com/lpenz/xseturgent) for the urgency hint
- notify-send (in [libnotify-bin](https://packages.debian.org/search?keywords=libnotify-bin) in Debian)## Installation
Using zinit:
```shell
zinit ice lucid wait'0' ver'main'
zinit load 'lpenz/zsh-notify-urxvt'
```Using zplug:
```shell
zplug "lpenz/zsh-notify-urxvt"
```