h-ayat / shot

Simple tool to convert dates (epoch-time, Jalali, Gregorian)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shot

Simple tool to convert dates (epoch-time, Jalali, Gregorian)

Description

Just select a part of text and shot (which is show time) converts and displays it! image

Supports epoch time (in seconds or milliseconds) and basic date time format like 2022-06-30 22:40 in gregorian and Jalali Calendar

Installation

Download latest version from Releases. You should either put the bin dir in your PATH or create a sym-link to the main executable somewhere in your path. e.g:

cd ~/bin
ln -s /PATH/TO/shot/bin/shot

Also copy the showDate.sh script in your path. Now you can assign some hot-key to the showDate.sh and enjoy.

You can either use the hot-key or command line like this:

shot 1656564042540

Note that to use the showDate.sh script you need xclip and libnotify

About

Simple tool to convert dates (epoch-time, Jalali, Gregorian)

License:MIT License


Languages

Language:Scala 98.7%Language:Shell 1.3%