background: add dmenu prompt

Fri, 27 Apr 2018 12:14:44 +0200

author
David Demelier <markand@malikania.fr>
date
Fri, 27 Apr 2018 12:14:44 +0200
changeset 30
23d4de57e583
parent 29
23ff08a712b5
child 31
7ce29c196f36

background: add dmenu prompt

dmenu-background/main.cpp file | annotate | diff | comparison | revisions
--- a/dmenu-background/main.cpp	Fri Apr 27 12:01:12 2018 +0200
+++ b/dmenu-background/main.cpp	Fri Apr 27 12:14:44 2018 +0200
@@ -83,7 +83,7 @@
     auto path = base;
 
     for (;;) {
-        const auto selection = dmenu::run({ "-l 16" }, select_list(path));
+        const auto selection = dmenu::run({ "-l 16", "-p background" }, select_list(path));
 
         if (selection.empty())
             return selection;

mercurial