#!/bin/bash

secret=$(prs list --list | rofi -p "secret" -dmenu -i)

[[ ! -z "$secret" ]] && xdotool type "$(prs show "$secret" --password --quiet --no-interact)"
