From 0c89ae372ef539839d33ff898d8c108c8e0a7ab9 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Thu, 12 Jun 2025 05:41:07 +0300 Subject: Add fprun script --- fprun | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 fprun diff --git a/fprun b/fprun new file mode 100755 index 0000000..6893fd3 --- /dev/null +++ b/fprun @@ -0,0 +1,11 @@ +#!/bin/sh +# +# this script uses fp to search for file in /bin, then executes it with nohup +# and redirecting output to /dev/null (meaning terminal can be closed after +# running a program). Can be used as a lightweight and more crossplatform (can +# be ran on both X and Wayland) replacement for dmenu[1] +# +# [1] https://tools.suckless.org/dmenu/ + +PROG="`fp /bin 10`" +nohup "$PROG" > /dev/null 2>&1 & -- cgit 1.4.1