Commit Graph

26 Commits

Author SHA1 Message Date
PukNgae Cryolitia
ac325a7cab
feat(bgnotify): add config to pass extra args (#12679) 2024-09-15 23:20:59 +02:00
David LJ
e53edd712f
fix(bgnotify): use terminal-notifier args properly (#12467) 2024-06-04 15:55:08 +02:00
Brian Hartvigsen
64d881b479
fix(bgnotify): don't require accessibility perms in macos (#11433) 2023-12-27 10:57:53 +01:00
Gautam krishna R
9004c177ba
fix(bgnotify): make it work with set -e (#12111)
Co-authored-by: ipChrisLee <chrisleecn@outlook.com>
2023-12-22 09:57:23 +01:00
Benjamin Neff
0a9d82780e
feat(bgnotify): add option to disable terminal bell (#12077) 2023-12-01 17:09:48 +01:00
Johan Sjöblom
9b5b389c22
refactor(bgnotify): get Sway AppId with awk as fallback (#12062)
Closes #12062
2023-12-01 16:55:39 +01:00
Johan Sjöblom
38e80e9f21
feat(bgnotify): add icon parameter (#12055) 2023-11-23 11:11:08 +01:00
Carlo Sala
18073af622
fix(bgnotify): detect properly if swaymsg is installed
Closes #12053
2023-11-22 15:22:36 +01:00
bretello
e6a1db213d
feat(bgnotify): add support to wayland (#12045) 2023-11-20 12:54:56 +00:00
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
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
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