Created
January 14, 2020 21:23
-
-
Save xiaq/0722756e62f18e7a755974d8c2ede392 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modules = [ | |
{ date "+DATE: %d/%m/%y TIME: %H:%M:%S" } | |
{ acpi -b | cut -d ',' -f 2 | cut -d ' ' -f 2 } | |
] | |
while $true { | |
for m $modules { $m } | | |
xsetroot -name (joins ' ') | |
sleep 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment