Created
November 27, 2021 00:20
-
-
Save uncomfyhalomacro/bfe80518a6c20339b9a92140bfd23d56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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