diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-04-01 10:34:58 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-08-14 12:01:19 +0200 |
commit | 982820117683894c46bcd72e98e49a5da70a560f (patch) | |
tree | 4be02f2e346e96f6f2d3fd7a261e821a1eed3160 | |
parent | e95b5fd295165c4cd8f96c00a9e1cde589acb92c (diff) |
Send a notification when open has no association
-rwxr-xr-x | .local/bin/open | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/open b/.local/bin/open index 9c78c0c..46c77c7 100755 --- a/.local/bin/open +++ b/.local/bin/open @@ -85,4 +85,4 @@ multi sub cmd (IO::Path $t where { $_.f }) { "less -R +k '$t'" } # Fallback command # -multi sub cmd ($t) { "xdg-open '$t'" } +multi sub cmd ($t) { qq[notify-send 'open' 'No association to open "$t"'] } |