From c7ae646d3725f3448c83890500696513e9f90fd5 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 7 Jun 2021 19:12:03 +0200 Subject: pkgs/profpatsch/xdg-open: display short message on xdg-open --- pkgs/profpatsch/xdg-open/xdg-open.dhall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/profpatsch/xdg-open') 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 -- cgit 1.4.1