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 481734effb0f8752a9cbf2a7fbfa1a95ede96bce
parent 3e05430bce04e0033d031ec2331392efdb0207a9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri,  3 May 2019 14:23:49 +0200

Add custom dmenu_run that shows output in notification

Diffstat:
Abin/dmenu_run | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/bin/dmenu_run b/bin/dmenu_run @@ -0,0 +1,4 @@ +#!/bin/sh +cmd="$(dmenu_path | dmenu_themed "$@")" +out="$(eval "$cmd" 2>&1)" +notify-send "\$ $cmd" "$out"