Browse Source

Switch to using uba instead of ub

uba will launch Uzbl for eacy URI on STDIN, so it's easier to link with
saturnin-www or any other command while keeping it simple and unix-y.

Original scenario of opening always just one URI can be easily achieved
using `head -1`.
Alois Mahdal 10 years ago
parent
commit
b8e1714873
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      dotfiles/i3/config

+ 2
- 2
dotfiles/i3/config View File

@@ -182,8 +182,8 @@ mode "caps" {
182 182
 ### MINE
183 183
 bindsym $mod+Return         exec "urxvt"
184 184
 bindsym $mod+Shift+Return   exec "xfce4-terminal"
185
-bindsym $mod+b              exec "ub -1"
186
-bindsym $mod+Shift+b        exec "saturnin conf -j -S www.ini | saturnin dmenu -l 20 --split = | xargs -r ub -a"
185
+bindsym $mod+b              exec "saturnin www -1 | head -1 | uba"
186
+bindsym $mod+Shift+b        exec "saturnin conf -j -S www.ini | saturnin dmenu -l 20 --split = | uba"
187 187
 bindsym $mod+c              exec "saturnin clip save"
188 188
 bindsym $mod+Shift+c        exec "saturnin clip load"
189 189
 bindsym $mod+Shift+f        exec thunar