Browse Source

Add tikr menu

Alois Mahdal 10 months ago
parent
commit
07560c43d7
2 changed files with 5 additions and 0 deletions
  1. 4
    0
      dotfiles/config/bmo/menu.ini
  2. 1
    0
      dotfiles/config/i3/config

+ 4
- 0
dotfiles/config/bmo/menu.ini View File

31
     selector_args = -l 20 --split = --split-field 1
31
     selector_args = -l 20 --split = --split-field 1
32
     consumer    = cat
32
     consumer    = cat
33
 
33
 
34
+[menu.def.tikrs]
35
+    generator   = tikr -l
36
+    consumer    = xargs twcmd -p tikr
37
+
34
 [menu.def.run]
38
 [menu.def.run]
35
     generator   = dmenu_path
39
     generator   = dmenu_path
36
     consumer    = sed 's/$/ \&/' | sh -
40
     consumer    = sed 's/$/ \&/' | sh -

+ 1
- 0
dotfiles/config/i3/config View File

369
 
369
 
370
 bindsym $mod+Return         exec "urxvt"
370
 bindsym $mod+Return         exec "urxvt"
371
 bindsym $mod+Shift+Return   exec "xfce4-terminal"
371
 bindsym $mod+Shift+Return   exec "xfce4-terminal"
372
+bindsym $mod+End            exec "$spn bmo menu tikrs"
372
 bindsym $mod+Home           exec "$spn bmo menu home"
373
 bindsym $mod+Home           exec "$spn bmo menu home"
373
 bindsym $mod+Shift+Home     exec "thunar"
374
 bindsym $mod+Shift+Home     exec "thunar"
374
 bindsym $mod+p              exec "$spn bmo menu run"
375
 bindsym $mod+p              exec "$spn bmo menu run"