Conky: Display MOC info

It’s a slightly modified version of Santix’ script.

#!/bin/bash

INFO=`mocp --info`

if [ "$INFO" -- "State: STOP" ];
then

echo -n " "

else

Artist=`mocp --info | grep Artist | cut -f2 -d ":"`
Song=`mocp --info | grep SongTitle | cut -f2 -d ":"`
Album=`mocp --info | grep Album | cut -f2 -d ":"`

expr substr "$Artist - $Song ( $Album ) " 1 200

fi

Edit: For those who aren't familiar with conky scripts: Just save the above code to a file called moc_conky.sh and add

${execi 300 /home/user/conky/scripts/moc_conky.sh}

to your conkyrc config file.

Comments (1)

Crunchwood – wallpaper, gtk and openbox theme

Full size: (2560×1600)

crunchwood1

Download (includes openbox theme)

This is the first time I’ve created a theme for openbox and gtk but it definitely won’t be the last. The openbox wiki has all the information you could possibly need. I highly recommend you check it out if you are interested in creating themes for openbox. [Help:Themes]

Leave a Comment

Scrobbling with cmus

For the past weeks I’ve been primarily using Cmus as my audioplayer. I found myself doing a google search for a scrobbler that would work with cmus. I found post-fm and it works great.

[Post-fm]

All you have to do is save the script and add your username and password and you’re almost set. All you have to do now is add the following line to ~/.cmus/rc

:set status_display_program=/location/to/script

Hanna from the forums created a CrunchBang Linux last.fm group so don’t forget to join. [Forum post] [Last..fm group]

Leave a Comment

Openbox: Weather Pipe Menu

Found this great pipe menu for Openbox while browsing around the Arch Linux forums. Works like a charm.

[Link]

Comments (3)

Logic & Imagination wallpapers (1280×800)

Logic will get you from A to B. Imagination will take you everywhere. – Albert Einstein

Black
White
4 colors in a zip file

Leave a Comment

My top 5 ‘most used’ CLI apps

In no particular order:

  • calcurse:

    calcurse is a text-based calendar and scheduling application. It helps keep track of events, appointments and everyday tasks. A configurable notification system reminds user of upcoming deadlines, and the curses based interface can be customized to suit user needs. All of the commands are documented within an online help system.

    (http://culot.org/calcurse/)

  • irssi:

    Irssi is a terminal based IRC client for UNIX systems. It also supports SILC and ICB protocols via plugins.

    (http://www.irssi.org/)

  • vnstat:

    vnStat is a network traffic monitor for Linux that keeps a log of daily network traffic for the selected interface(s). vnStat isn’t a packet sniffer. The traffic information is analyzed from the /proc filesystem. That way vnStat can be used even without root permissions.

    (http://humdi.net/vnstat/)

  • newsbeuter:

    Newsbeuter is an open-source RSS/Atom feed reader for text terminals. It runs on Linux, FreeBSD, Mac OS X and other Unix-like operating systems. Newsbeuter’s great configurability and vast number of features make it a perfect choice for people that need a slick and fast feed reader that can be completely controlled via keyboard.

    (http://www.newsbeuter.org/)

  • midnight commander:

    GNU Midnight Commander is a file manager for free operating systems. Like other GNU software, it is written in a portable manner and should compile and run on a wide range of operating systems with some degree of UNIX compatibility.

    (http://www.ibiblio.org/mc/)

Leave a Comment

Crunchbang Linux wallpaper

Leave a Comment

Older Posts »
Follow

Get every new post delivered to your Inbox.