summaryrefslogtreecommitdiff
path: root/launch
diff options
context:
space:
mode:
Diffstat (limited to 'launch')
-rwxr-xr-xlaunch8
1 files changed, 4 insertions, 4 deletions
diff --git a/launch b/launch
index 16add49..f7189ed 100755
--- a/launch
+++ b/launch
@@ -3,12 +3,12 @@
launch_list="$HOME/.config/launch.list"
if [ ! -r "$launch_list" ]; then
- notify-send "Launcher Error" "Program list not found: $launch_list"
- exit 1
+ notify-send "Launcher Error" "Program list not found: $launch_list"
+ exit 1
fi
-prog="$( dmenu -l 30 -i -p "Choose a program to launch:" < "$launch_list" )"
+prog="$(dmenu -l 30 -i -p "Choose a program to launch:" <"$launch_list")"
[ -z "$prog" ] && exit 0
-setsid "$prog" > /dev/null 2>&1 &
+setsid "$prog" >/dev/null 2>&1 &