Hello! Just registered and wanted to contribute to the Fvwm community
Recently there’s been quite a few scripts related to music, and so is mine.
I made an control panel for amaroK, basic functions are:
Previous song
Play (If play is on, the pause and stop icons are a bit grayed)
Pause (if pause is on, the stop button is grayed and play/pause normal)
Stop (play and pause are grayed)
Next
Toggle Random (for playlist) (state shown with grayed and normal icons)
Toggle Repeat playlist (same as random)
Volume up
Volume down
And finally a sound icon that opens gnome-alsamixer (application launched is defined by variable in the beginning, you can easily change it)
Under the icons there’s a field where the currently playing song will be displayed, if amarok isn’t running it will display a message saying so, also if nothing is playing there will be a message, the messages can easily be edited as they are as variables after the init.
And i guess it’s easier to see the whole picture if provided a screenshot Here
The first one is the panel mounted into FvwmButtons with rounded corners from chwombats page, and the second one is the script different colorset for the text area (colorsets are controlled by 2 parameters, the second parameter gives the colors for the text area and the first on for the rest)
If you like it you can grab it SEE BELOW!!!
Also i have tried my best not to do useless refreshes on the window (eg changing icons every second depending on the state) since that would make it seem flickery, i hope you all like it
Requires:
* FVWM
* amaroK
* bash
ToDo:
* Create a smiple non-bloated playlist editor (even
though the one amarok has is very nice)
* Incorporate some amaroK player window control (eg.
That’s very nice to hear
In next version you can expect a button for repeat currently playing track and one for remove currently playing track (some, like me, might have just a huuuge playlist with alot of bad songs ), this will make the area bigger and give more room for the name of the song without making the panel look stupid
Also if anybody’s intrested i can release a version of my amarokpanel with repeat track support (it’s already done), if no one is intrested i won’t bother with another release
Thanks VoiDeR!
Your support got me determined to finnish up this panel
So i consider it pretty much done, not counting the icon in the end for “main sound controll” (gnome-alsamixer in my case) – If you have any nice icons that would fit there then PLEASE post them
I might also just totally remove the “MPD and sound”-icon in the beginning that launches gmpc (change it to whatever you want) and replace the sound icon in the end with the one in the icon…
How-to-install:
Download the package… SEE BELOW
Untar it – tar xvjf FvwmApplet-MPDPanel-0.1.tar.bz2
Move the files into the right folders… move the “mpd” direcotry into your Fvwm image root directory and move the FvwmApplet-MPDPanel into the place where you easiest can launch it
Like amaroKPanel it accespt two colorsets, first argument is for the main stuff and the second one is for the box around the text…
Oh yes please post the small one to. That would be awsoem on my laptop. It only does 1024x768. The bigger one im going to use on my desktop. Man i cant wait to get home and use this. Great work!!!1
@bibi.skuk
You can choose from all the colorsets in your FvwmConfig (eg .fvwm2rc)
If you there have defined for example Colorset 2 with the colors you want you put it as an argument in the startup of the panel
In my example: FvwmScript $[fvwm_script_path]/FvwmApplet-MPDPanel 31 32
31 Defines the background color and 32 defines the color of the text, and its background
Hmm… found some bugs with panel being in playing mode when you close mpd and start it up again :p… and i fixed some icon sizes (has to be exact to the pixel! ) I’ll put it out as a final version later, and also a final version of the amaroKPanel (eg repeat track icon)
I finally got home and got to finnish my new MPD panel 130.232.30.60:3800/FvwmApplet-MPDPanel-0.2.png
Unfortunately there are still a few problems with the code so… No release for now