diff options
Diffstat (limited to 'xboomx/bin/web_xboomx')
-rw-r--r-- | xboomx/bin/web_xboomx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xboomx/bin/web_xboomx b/xboomx/bin/web_xboomx new file mode 100644 index 0000000..67baba3 --- /dev/null +++ b/xboomx/bin/web_xboomx @@ -0,0 +1,13 @@ +#!/usr/bin/python + +import subprocess +from xboomx.config import config + + +DMENU_LAUNCHER = 'dmenu ' + config.get("dmenu_params", "") + +subprocess.call("""xboomx_urls.py | xboomx_sort.py urls | \ + """ + DMENU_LAUNCHER + """| \ + xboomx_update.py urls | \ + xargs -I {} sh -c \'exec firefox {} &\'""", + shell=True) |