Monday, December 22, 2014

Chrome's App Launcher in i3 window manager

create a link to the following script in an executable path.
after opening google-chrome launcher, xdotool is used to generate i3 key-binding for floating a window


#!/bin/bash
/usr/bin/google-chrome --show-app-list
xdotool key shift+super+space

Thursday, April 25, 2013

Prayer Times

A simple shell script that will fetch prayer times from raajeislam.com.


Fajr    : 4:42
Sunrise : 5:55
Duhr    : 12:08
Asr     : 3:21
Maghrib : 6:13
Isha    : 7:27



--> #!/bin/bash
wget -O /tmp/prayertimes http://raajjeislam.com/prayertimes/ &>/dev/null

awk '
BEGIN{
FS="(>)|(<)";
}

/(Fajr|Sunrise|Duhr|Asr|Maghrib|Isha)<\/div>/ {
        printf("%-8s: %s\n", $5,$9);
}

' /tmp/prayertimes


Wednesday, April 10, 2013

Tuesday, August 21, 2012

Dolphin filemanager now supports sorting by file metadata

With the recent KDE 4.9 update, KDE's  file-manager - Dolphin has received a host of new features . Among the notable additions it has received is the displaying of and the ability to sort and group files by their meta-data properties.

Dolphin now allows you to show any kind of metadata like ratings, tags, image-sizes beside each file.

You can now sort images by orientation. You can sort  text-files by the count of words or lines in them. You may sort audio files by artist, album or duration of the track. You can sort files  by permissions, owner and group properties  or sort by tags or ratings that you have previously given to the files.

All these features will be available to Konqueror as well as other applications which uses Kparts component framework

Thanks to the KDE team for implementing these  features, the time taken in searching and organizing files will be greatly reduced.












Sunday, April 29, 2012

VIM Adventures

VIM is a popular Linux Text editor. Not a text editor as in Windows notepad, but can be used as a fully fledged IDE. Numerous plugins are available which extends the functionality of VIM to the extent that FTP client, mail readers and even a Tetris game is available in the form of a VIM plugin.

VIM uses combination of commands to navigate around the editor and performing text editing and programming/system/IDE functions, targeting to be mouse-free and lessen the burden in doing repetitive text editing functions.

VIM Adventures is a nifty little fantasy adventure game giving you a head-start in the VIM learning curve.Click the link below to start the fun.

http://vim-adventures.com/