ソースを参照

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