1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-30 08:11:58 +00:00
Commit graph

20 commits

Author SHA1 Message Date
Marc Cornellà
a04cf07880 refactor(bgnotify): clean up and reorganize code
🗸 Standardize code style
🗸 Organize code sections
🗸 Optimize calls for window ID
2022-11-11 09:53:21 +01:00
Marc Cornellà
5b2d0a3f06 perf(bgnotify): cache terminal app ID computation
Fixes #10971
2022-11-11 09:53:21 +01:00
Aurora
ff09151d6b
fix(bgnotify): avoid permission prompts by checking frontmost app ID (#10318)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2021-11-17 11:44:04 +01:00
Marc Cornellà
53259f628b
bgnotify: use $2 in preexec hook if $1 is empty
Fixes #5803
2020-09-28 12:09:20 +02:00
Chris
5e1d351339 bgnotify: use double dash in kdialog title option (#7153)
The options for kdialog in KDE use double dashes
2018-09-25 13:56:29 +02:00
Marc Cornellà
4d940109e3 misc: remove execution permission from various files 2018-09-15 23:57:12 +02:00
Janosch Schwalm
19b925e741 use https everywhere (#6574)
* use https everywhere

* use https links on the files that are left

Also, removed some broken links and updated redirections.
2018-08-07 20:42:01 +02:00
arizzubair
f6a4e37e88 Update README.md (#6554)
Minor spelling mistake.
2018-01-22 19:14:32 -08:00
Tim O'Brien
797e1f9a64 [plugins/bgnotify] fix for iTerm2 notification clicks 2015-09-14 15:32:50 -07:00
Tim O'Brien
7c31c7a963 Bring bgnotify plugin up to date with t413/zsh-background-notify
Changes include:
- time format now shows h/m/s (only when needed!)
- adds hooks only for interactive connections
- adds specific kde support (via kdialog)
- adds click-action for OS X terminals
2015-08-19 22:33:41 -07:00
Paul
8791d7e09e Update bgnotify.plugin.zsh
Fixed error with spaces in commands
2015-06-11 21:10:37 +02:00
Kristján Oddsson
1308515d1c Re-order OS detection if..else statement.
This patch will re-order the if statements when checking what operating
system the user is running.

This is useful for people that already have a `notify-send` binary in
their $PATH but are running OSX. An example of such requirements is
anyone running `vagrant-notify` is required to have a `notify-send`
binary on their $PATH.

See [link](https://github.com/fgrehm/vagrant-notify#os-x).
2015-02-23 17:25:55 +00:00
Mads Mætzke Tandrup
7fc47e7ebc Fixing spaces in title and message given to bgnotify on OS X 2015-02-22 22:14:37 +01:00
Tim O'Brien
fd69c34e0c Add screenshots to readme 2014-11-08 14:20:37 -08:00
Tim O'Brien
98fc8dd91a Fix for OS X when no window id is returned (like on the desktop) 2014-11-08 14:16:56 -08:00
Tim O'Brien
cbec1d77b2 Add window ID fallback for windows.
- maybe someday use GetForegroundWindow() from User32.lib ...
2014-11-07 10:58:11 -08:00
Tim O'Brien
3d376bbd5b Fix renamed method issue. 2014-11-07 08:35:31 -08:00
Tim O'Brien
adafe271f0 add cygwin windows support with notifu, add to readme 2014-11-06 10:35:07 -08:00
Tim O'Brien
0b0cc2cdea Fixed math on linux, removed debug echo. 2014-11-06 10:34:47 -08:00
Tim O'Brien
e16d3e45d3 Add bgnotify plugin, a cross-platform background notifier! 2014-11-06 10:34:26 -08:00