Skip to content

Instantly share code, notes, and snippets.

View fischejo's full-sized avatar

Johannes Fischer fischejo

  • Germany, Bavaria
View GitHub Profile
@fischejo
fischejo / rofi-firefox.sh
Last active August 17, 2022 23:44
adds selection of firefox profiles to rofi menu
#!/bin/bash
MOZILLA_CONFIG=~/.mozilla
FIREFOX='/usr/bin/firefox'
NAMES=($(awk -F "=" '/Name/ {print $2}' $MOZILLA_CONFIG/firefox/profiles.ini | tr -d ' '))
if [ -z $@ ]
then
echo "Profile Manager"