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 1dcb37745fc42e6a6ec22a7e9d416c4b57fbda47
parent dafc149d3519c5e75ffb7f427b2a9ac33c88d044
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 24 Nov 2019 19:48:42 +0100

Add back dmenu_run script

Diffstat:
A.local/bin/dmenu_run | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/.local/bin/dmenu_run b/.local/bin/dmenu_run @@ -0,0 +1,5 @@ +#!/bin/sh +set -eu +cmd="$(dmenu_path | dmenu "$@")" +out="$(eval "$cmd" 2>&1)" +[ "$out" != "" ] && notify-send "\$ $cmd" "$out"