Version is built from git commit id, for example wmfs-ga33ec04-dirty -> 'g', this is a git repo -> a33ec04 is the beginning of the commit id (sha1) -> dirty mean that there is uncommitted changes wmfs users gives their 'wmfs -v' and developers can easily identify wmfs version. Move status.sh to scripts/ with setlocalversion Signed-off-by: Philippe Pepiot <phil@philpep.org>
12 lines
188 B
Bash
Executable File
12 lines
188 B
Bash
Executable File
#!/bin/sh
|
|
#WMFS status.sh example file
|
|
#Will be executed if put in ~/.config/wmfs/
|
|
#Timing adjustable in wmfsrc (misc -> status_timing)
|
|
|
|
statustext()
|
|
{
|
|
wmfs -s "`date`"
|
|
}
|
|
|
|
statustext
|