dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit fb4702590523d2b9835a59b9417a90b10d8c70c5
parent b5233b6be1d572be58a1076cf9f3c511334a23ad
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri,  8 Nov 2019 20:17:26 +0100

Fix notification format

Diffstat:
M.local/bin/linkhandler | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler @@ -11,13 +11,13 @@ handle_url() { action="undefined" case "$1" in *.png|*.PNG|*.jpg|*.JPG|*.jpeg|*.JPEG|*.tif|*.TIF|*.bmp|*.BMP|*.pdf|*.PDF) - notify-send "linkhandler action:\ncurl + xdg-open" + notify-send "linkhandler" "curl + xdg-open" action="xdg-open" ;; *youtube.com*|*youtu.be*) - notify-send "linkhandler action:\nyoutube-dl" + notify-send "linkhandler" "youtube-dl" action="youtube-dl" ;; *smbc-comics.com*|*xkcd.com*|*jspowerhour.com*) - notify-send "linkhandler action:\ncomic" + notify-send "linkhandler" "comic" action="comic" ;; *) action="$(printf "open\nopen (tbb)\nxclip\nbookmark\ncurl\nhtml to pdf\nsci-hub\nadd bibref\nmpv\nxdg-open\nyoutube-dl\nyoutube-dl-music" | \