Krolyxon
Commit 90c1523

Branches

Refs →

dotfiles-x11.localbinrofipass

9 lines · 255 B · Bourne Again Shell (bash)

1#!/bin/sh
2#
3# Take password prompt from STDIN, print password to STDOUT
4# the sed piece just removes the colon from the provided
5# prompt: rofi -p already gives us a colon
6rofi -dmenu \
7 -password \
8 -no-fixed-num-lines \
9 -p "$(printf "$1" | sed s/://)"