summaryrefslogtreecommitdiff
path: root/launch
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2025-10-10 19:10:02 +0200
committerfilip <“filip.rabiega@gmail.com”>2025-10-10 19:10:02 +0200
commit807de46d3a3cbef9a3c3c104f6db87b142e6eed5 (patch)
tree61a1a9bc26daad623ce6c04bb66ae39133ef0261 /launch
parent08204fc9b9f63015a1dc083b471c6839818eeb59 (diff)
downloadchadscripts-807de46d3a3cbef9a3c3c104f6db87b142e6eed5.tar.gz
chadscripts-807de46d3a3cbef9a3c3c104f6db87b142e6eed5.tar.bz2
chadscripts-807de46d3a3cbef9a3c3c104f6db87b142e6eed5.zip
used shfmt
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 &