forked from jdpedersen1/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.sh
executable file
·15 lines (12 loc) · 919 Bytes
/
launch.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
#
## Created By: Jake@Linux
# Created On: Fri 02 Jun 2023 01:13:18 PM CDT
# # Project: launch menu
#mpv --no-video --no-terminal ~/Media/soundClips/launch2.mp3 2>/dev/null &
sleep .15
DIR1="/usr/bin/"
DIR2="/bin/"
Menu="$(ls "$DIR1" "$DIR2" | cut -d / -f 3 | uniq -u | sort | fzf --prompt="Which Program Would You Like To Run : " --border=rounded --margin=5% --color='fg:104,fg+:255,pointer:12,hl:255,hl+:12,header:12,prompt:255' --height 100% --reverse --header=" PROGRAMS " --info=hidden --header-first)"
#Menu="$(find "$DIR1" "$DIR2" "$DIR3" -mindepth 1 -executable | cut -d / -f 3 | uniq -u | sort | fzf --prompt="Which Program Would You Like To Run : " --border=rounded --margin=5% --color='fg:104,fg+:255,pointer:12,hl:255,hl+:12,header:12,prompt:255' --height 100% --reverse --header=" PROGRAMS " --info=hidden --header-first)"
exec devour "$Menu"