mirror of
https://github.com/pgrondek/config.git
synced 2025-02-18 07:39:40 +00:00
[i3blocks] Add date
This commit is contained in:
parent
b437740e63
commit
c4200e3812
2 changed files with 8 additions and 0 deletions
|
@ -11,3 +11,6 @@ signal=10
|
||||||
[cpu]
|
[cpu]
|
||||||
label=CPU
|
label=CPU
|
||||||
interval=1
|
interval=1
|
||||||
|
|
||||||
|
[date]
|
||||||
|
interval=60
|
||||||
|
|
5
i3blocks/date
Executable file
5
i3blocks/date
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
FORMAT=+%Y.%m.%d\ %H:%M
|
||||||
|
|
||||||
|
date "$FORMAT"
|
Loading…
Reference in a new issue