diff options
| author | Simeon Simeonov | 2020-12-11 10:27:16 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2020-12-11 10:27:16 +0100 |
| commit | 9b798b0cbd8061c6c6a3db19646b72ef17a56266 (patch) | |
| tree | a83a7a5368ab87288b35c37a1dc32bad890cee87 | |
| parent | b16438a23b237aa44fe9358a0b8954888bf81ea2 (diff) | |
Update documentation
| -rw-r--r-- | README.md | 23 | ||||
| -rw-r--r-- | i3lock-extended.1 | 2 |
2 files changed, 12 insertions, 13 deletions
| @@ -18,6 +18,7 @@ can be found as INSTALL.md. | |||
| 18 | - Digital clock | 18 | - Digital clock |
| 19 | - Elapsed time since activation | 19 | - Elapsed time since activation |
| 20 | - Display-text | 20 | - Display-text |
| 21 | - Count broken-down time until a specific calendar time (absolute time) | ||
| 21 | 22 | ||
| 22 | i3lock-extended includes all of the original code and features of i3lock. | 23 | i3lock-extended includes all of the original code and features of i3lock. |
| 23 | 24 | ||
| @@ -43,18 +44,6 @@ extended revision if used]. | |||
| 43 | emerge x11-misc/i3lock-extended | 44 | emerge x11-misc/i3lock-extended |
| 44 | ``` | 45 | ``` |
| 45 | 46 | ||
| 46 | ### Fedora ( >= 31) | ||
| 47 | |||
| 48 | Set up a custom repo as described: https://pkg.pichove.org/Fedora/README.txt | ||
| 49 | |||
| 50 | Key fingerprint: A664 5797 661E 2F47 3DD3 FF06 BCE7 0555 C3BB 08F7 | ||
| 51 | |||
| 52 | Install the package: | ||
| 53 | |||
| 54 | ```bash | ||
| 55 | sudo dnf install i3lock-extended | ||
| 56 | ``` | ||
| 57 | |||
| 58 | 47 | ||
| 59 | ### From source | 48 | ### From source |
| 60 | 49 | ||
| @@ -90,6 +79,16 @@ produces the following result: | |||
| 90 | 79 | ||
| 91 |  | 80 |  |
| 92 | 81 | ||
| 82 | while | ||
| 83 | |||
| 84 | ```bash | ||
| 85 | date +%s -d"Jan 1, 2021 00:00:00" | ||
| 86 | # returns seconds since the Epoch (f.i. 1609455600) | ||
| 87 | i3lock-extended -f -L -n -S 32 -c 000000 -F 000000 -O 00FF00 -B 7f7f7f -R 7f7f7f -G 7f7f7f -D -E -C 1609455600 -W left -Z top -J "%d days, %h hours, %m minutes and %s seconds until 2021" | ||
| 88 | ``` | ||
| 89 | |||
| 90 | also displays the broken-down time until 2021 using the specified template (-J) in the top left corner. | ||
| 91 | |||
| 93 | 92 | ||
| 94 | ## Support and contributing | 93 | ## Support and contributing |
| 95 | 94 | ||
diff --git a/i3lock-extended.1 b/i3lock-extended.1 index 34ea2a3..ee97c45 100644 --- a/i3lock-extended.1 +++ b/i3lock-extended.1 | |||
| @@ -97,7 +97,7 @@ Elapsed time since activation | |||
| 97 | .IP \[bu] | 97 | .IP \[bu] |
| 98 | Display-text | 98 | Display-text |
| 99 | .IP \[bu] | 99 | .IP \[bu] |
| 100 | Count to a specific calendar time (absolute time) | 100 | Count broken-down time until a specific calendar time (absolute time) |
| 101 | 101 | ||
| 102 | .SH OPTIONS | 102 | .SH OPTIONS |
| 103 | .TP | 103 | .TP |
