Skip to content

Instantly share code, notes, and snippets.

@uncomfyhalomacro
Created November 27, 2021 00:20
Show Gist options
  • Save uncomfyhalomacro/bfe80518a6c20339b9a92140bfd23d56 to your computer and use it in GitHub Desktop.
Save uncomfyhalomacro/bfe80518a6c20339b9a92140bfd23d56 to your computer and use it in GitHub Desktop.
#!/bin/sh
shopt -s lastpipe
firefoxprofile=("personal" "social" "school")
printf "%s\n" "${firefoxprofile[@]}" | fzf -e -i --prompt='launch firefox profile: ' | read -r profile
command="firefox -P \"${profile}\""
[ -z "${profile}" ] && exit
riverctl spawn "${command}"
# Well no people have more than three firefox profiles right? right..?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment