From e371d9edd474bcf89cf5d462eaccb8638900b390 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 3 Oct 2020 19:27:15 -0400 Subject: Initial commit --- .local/bin/printermenu | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .local/bin/printermenu (limited to '.local/bin/printermenu') diff --git a/.local/bin/printermenu b/.local/bin/printermenu new file mode 100755 index 0000000..4487eae --- /dev/null +++ b/.local/bin/printermenu @@ -0,0 +1,3 @@ +#!/bin/sh + +lpstat -p -d | sed 's/^printer\ //; s/\ .*$//; s/no//; /^$/d' | dmenu -p "Select printer" -- cgit v1.2.3