Skip to content

A fuzzy clock for the shell. Italian localization (Romanaccio).

Notifications You must be signed in to change notification settings

piger/FuzzyClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FuzzyClock: Un orologio approssimativo e coatto in zsh

Questo script zsh mostra l'ora attuale approssimata a parole in dialetto romanaccio, ad esempio l'unnici evventi; e' pensato per essere incluso nella configurazione di un terminal multiplexer come screen o tmux per sostituire la solita noiosa ora attuale con qualcosa di piu' simpatico.

Il funzionamento e' ispirato a quello di altri due software simili: fuzzy-clock e FuzzyClock.

Other Languages (English)

This script can be easily translated in other languages; just edit the content of the following arrays: nomiMinuti (minute), nomiOre (hour), giornata and settimana.

Example translation in english language:

nomiMinuti=(
    "%0 o'clock"
    "five past %0"
    "ten past %0"
    ...

Configurazione per tmux

# right status bar
set -g status-right "#($HOME/bin/fuzzyclock.zsh)"

Configurazione per screen

caption always "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"
hardstatus alwayslastline
hardstatus string '%H - %=%D %d %M %Y, %10`'

backtick 10     60  60      $HOME/bin/fuzzyclock.zsh

License

Public domain.

About

A fuzzy clock for the shell. Italian localization (Romanaccio).

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages