GARTEN EDEN

#linux #programming #android #online #stuff

Monochrome Elementary Tray Icons for Pidgin

Matching the nice Elementary-Theme there are also Icons for Pidgin (via). Sadly, monochrome icons for the statustray are missing. But with a small script you can link the IM standard icons out of the theme for the use with Pidgins tray.
#!/bin/bash
#Link elementary-themed icons to pidgin tray

sudo mkdir /usr/share/pixmaps/pidgin/tray/hicolor/22x22/status/elementary
cd /usr/share/pixmaps/pidgin/tray/hicolor/22x22/status/elementary

sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-available.svg ./pidgin-tray-available.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-away.svg ./pidgin-tray-away.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-busy.svg ./pidgin-tray-busy.png
sudo ln -s $HOME/.purple/themes/elementary/purple/status-icon/22/log-in.svg ./pidgin-tray-connect.png
sudo ln -s /usr/share/icons/elementary/status/22/indicator-messages-new.svg ./pidgin-tray-email.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-invisible.svg ./pidgin-tray-invisible.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-offline.svg ./pidgin-tray-offline.png
sudo ln -s /usr/share/icons/hicolor/22x22/actions/im-message-new.svg ./pidgin-tray-pending.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-idle.svg ./pidgin-tray-xa.png

for i in pidgin-tray*.png; do if [ ! -f ../$i.bku ]; then sudo mv ../$i ../$i.bku; fi; sudo ln -sf `pwd`/$i ../$i; done
This script creates a folder named "elementary" in the tray directory of Pidgin. Afterwards in this new folder it links the tray icons of the Elementary Theme which I found fitting for the particular action. These link files are then moved to the parent directory where Pidgin takes his tray icons from. The last script line creates backups of the files which are going to be overwritten (first run only).

Notices

monochrome Pidgin tray in use

Download

elementarypidgin.sh (1.2KB text/plain) or ↶ elementarypidgin.sh.gz (0.4KB application/x-gzip)

Comments

Your comment:






So far...

...no comments.