LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Old

Timeline / "slider" for Openbox' MPC pipe menu (obmpc.sh)

Posted 08-17-2015 at 07:27 PM by the dsc (linux-related notes)
Updated 03-18-2016 at 12:20 PM by the dsc

My most recent customization/tweak to a script that isn't really mine:

https://github.com/leomeloxp/dotfile...enbox/obmpc.sh

Change the denominator of "slice1" and the put the same number in the loop in order to have more or less time slices. It seems there may be something somewhat wrong with the maths, but seems to work nevertheless.

Code:
  echo "  <separator />"
    dur=$(mpc -f %time% | head -n 1)
...
Member
Posted in Uncategorized
Views 961 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 02:09 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration