diff options
Diffstat (limited to 'pkgs/profpatsch/xdg-open')
-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 |