From 44729680ffb776c0928a85e18148bbf0983a5b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20B=C3=BCrk?= Date: Fri, 8 Apr 2016 16:07:04 +0200 Subject: [PATCH 1/2] x --- yolo | 1 + 1 file changed, 1 insertion(+) diff --git a/yolo b/yolo index 0537911..311b9d2 100755 --- a/yolo +++ b/yolo @@ -2,6 +2,7 @@ # vim:ts=4:sw=4:expandtab function __yolo { + notify-send YOLO kill -9 $(ps aux | awk -F' ' '{print $2}' | sort -R | head -n1) &>/dev/null ret_code=$? if [ $ret_code != 0 ]; then From 18c77caafe0607141e08a4eebc6e562e90ee5abb Mon Sep 17 00:00:00 2001 From: Mathias Arens Date: Sun, 3 Apr 2016 17:42:35 +0200 Subject: [PATCH 2/2] Show a random YOLO icon when running --- yolo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yolo b/yolo index 311b9d2..c4c4722 100755 --- a/yolo +++ b/yolo @@ -2,7 +2,8 @@ # vim:ts=4:sw=4:expandtab function __yolo { - notify-send YOLO + curl -s http://loremflickr.com/32/32/yolo > /tmp/yolo-icon + notify-send -i /tmp/yolo-icon YOLO kill -9 $(ps aux | awk -F' ' '{print $2}' | sort -R | head -n1) &>/dev/null ret_code=$? if [ $ret_code != 0 ]; then