Преглед на файлове

Re-implement run_hist with new bmo superpowers

The 'history' mode allows incrementally creating item list by typing
items directly to dmenu.

Also, stderr and stdout are now kept automatically for all menus.
Alois Mahdal преди 6 години
родител
ревизия
4965c76990
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2
    3
      dotfiles/config/bmo/menu.ini

+ 2
- 3
dotfiles/config/bmo/menu.ini Целия файл

@@ -1,6 +1,5 @@
1 1
 [menu._default_]
2 2
 
3
-    name        = status
4 3
     selector    = bmo dmenu
5 4
 
6 5
 [menu.def.uris]
@@ -48,8 +47,8 @@
48 47
 
49 48
 [menu.def.run_hist]
50 49
 
51
-    generator   = tac .local/share/bmo/menu/run_hist.history | awk '!seen[$0]++'
52
-    consumer    = tee -a .local/share/bmo/menu/run_hist.history | sed 's/$/ \&/' | sh - >> .local/share/bmo/menu/run_hist.out 2>&1
50
+    mode = history
51
+    consumer = sed 's/$/ \&/' | sh -
53 52
 
54 53
 [menu.def.browsers]
55 54