diff options
author | Profpatsch <mail@profpatsch.de> | 2021-06-07 19:12:03 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-06-07 19:12:03 +0200 |
commit | c7ae646d3725f3448c83890500696513e9f90fd5 (patch) | |
tree | 1a73819b6a03bfe2b37a0052768a1ed54c61ed2d /pkgs | |
parent | c0d89a59fc7ea9fa0cb3e4e8cff82ad74ed587c1 (diff) |
pkgs/profpatsch/xdg-open: display short message on xdg-open
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/profpatsch/xdg-open/xdg-open.dhall | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/profpatsch/xdg-open/xdg-open.dhall b/pkgs/profpatsch/xdg-open/xdg-open.dhall index c4655c6a..3edb31e5 100644 --- a/pkgs/profpatsch/xdg-open/xdg-open.dhall +++ b/pkgs/profpatsch/xdg-open/xdg-open.dhall @@ -90,7 +90,6 @@ let xdg-open = in write-dash "xdg-open" ( '' - # TODO: --dry-run to display what would be opened and why # partially taken from # https://github.com/march-linux/mimi/blob/master/xdg-open @@ -99,6 +98,9 @@ let xdg-open = file="$1" mime= + # TODO: --dry-run to display what would be opened and why + notify-send --expire-time=500 -- "xdg-open: $1" + # match on protocols # if you want to match files reliably, start with file:// case "$file" in |