obpipes - Suite of openbox pipe menus written in sh

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

obpipes - Suite of openbox pipe menus written in sh

#1 Post by Nathan F »

This is my little collection of openbox pipe menus implemented in shell script. The calendar script was taken from the openbox wiki and slightly modified by me, the rest are my design.

obcal.sh - Diplays the current date/time and a monthly calendar. Works best with a monospace font.

obfb.sh - Browse the directory tree from your openbox menu. There are other versions out there written in Python that are faster, but hey, python is huge and they require special Python modules and sometimes extra programs. Mine allows browsing upwards or downwards, displays hidden files/directories in a separate submenu, and has comfigurable options for your choice of filemanager, terminal (only certain ones are supported though), and file handler (any of gnome-open, exo-open, xdg-open, or rox). This spawns a new version of itself for each subdirectory entered, and requires a bit of sed magic to handle certain special characters in filenames, so it opens just a tad slow with large directory trees but is still reasonable.

obmpd.sh - Controls music player daemon. most common operations are supported. Requires a running mpd and the command line mpc client.

obplaces.sh - Mimics the gnome2 places menu, complete with a recent documents list. It can optionally make your home directory browsable by piping obfb.sh instead of a static entry for $HOME.

obwp.sh - Change wallpaper from the menu. You must configure your wallpaper setting command by editing the script.

All of these have a configuration block allowing you to change certain settings (such as your filemanager or terminal of choice, or where you keep your wallpapers) so you will want to edit the config section and then drop them into your $PATH in order to use.

I've been bit by bit porting my collection of pipe menus from one wm to another, focusing on openbox, pekwm, and icewm. Most of these have counterparts in the other two wm's I just mentioned. The openbox support is currently the most complete, followed by icewm (see my other thread).

I also looked into porting to jwm, but from what I can tell pipe menus in jwm are only updated when the wm is restarted. Not the desired behavior for this sort of thing and kind of defeats the purpose. If anyone knows of a workaround I'd love to hear it.


=======================================
EDIT -- version 0.3 uploaded

Yes it skipped v. 0.2, I want to keep this synced with the icewm and pekwm counterparts.
=======================================


Version 0.3 adds the following new features to the "places" menu.
* Labeled separators for better visual organization
* Recognition of devices mounted in /media (or the new /run/media) via udev
* bugfixes for various path-mangling corner cases
* rox-bookmark support

ROADMAP
The preferences block in each script is going to be moved out to a separate file for all of my sh pipe menus, to share a common configuration accross all scripts and wm's.
I also plan on eventually doing a fairly comprehensive rewrite and placing the shared code into function libraries. This may be the final "standalone" version of these scripts. More to come.
Attachments
obpipes-0.3.tar.bz2
(5.17 KiB) Downloaded 627 times
obplaces.jpg
The places menu open, with the file browser opening several submenus...
(87.92 KiB) Downloaded 932 times
obmpd.jpg
The mpd menu open playing some Dylan...
(44.61 KiB) Downloaded 1032 times
obpipes-0.1.tar.bz2
(4.96 KiB) Downloaded 560 times
Bring on the locusts ...

User avatar
matiasbatero
Posts: 60
Joined: Fri 12 Oct 2012, 01:27
Location: Mar del Plata, Argentina

WMOptical

#2 Post by matiasbatero »

Hi! Great suite!! :)

This is my contribution, Hope that be usefull for someone!
I post my pipe menu in a few places, but none reported me nothing.
I think that nobody have been tested :(

Name: Image builder for CD/DVD/BD
Description: Builds a binary image (like clonation) to disk from selected devices. (.bin) of non-protected cds.
CD's = image.bin + .cue + .toc
DVD/BD = image.bin

This project was designed to be more big (original idea). For this reason, this pipe-menu is included in one infrastructure of more general scripts.
This concept was created to allow add characteristics, features, plugins etc, more easily. For example, this package include a "openbox-binding" to draw menus using functions, OSD-wrapper etc.

Well, no more words.
Dependencies: yad, core-utils, udisks, cdrdao
Attachments
2013-08-05--1375755764_444x148_scrot.png
Tray-Bar integration, dinamic progress icon, interactive tooltip, abort action in menu
(42.84 KiB) Downloaded 772 times
2013-08-05--1375755841_383x119_scrot.png
Notify-OSD integration
(21.5 KiB) Downloaded 764 times
2013-08-05--1375755552_449x72_scrot.png
pipe-menu in action
(22.63 KiB) Downloaded 772 times
wm_optical.tar.gz
Wm_optical pipemenu package.
(43.66 KiB) Downloaded 484 times

Post Reply