summaryrefslogtreecommitdiff
path: root/.local/bin/printermenu
blob: 4487eae7098e886d6e2b83c8d370352ba3f25792 (plain)
1
2
3
#!/bin/sh

lpstat -p -d | sed 's/^printer\ //; s/\ .*$//; s/no//; /^$/d' | dmenu -p "Select printer"