aboutsummaryrefslogtreecommitdiff
path: root/segments/date_day.sh
diff options
context:
space:
mode:
Diffstat (limited to 'segments/date_day.sh')
-rwxr-xr-xsegments/date_day.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/segments/date_day.sh b/segments/date_day.sh
new file mode 100755
index 0000000..35a42eb
--- /dev/null
+++ b/segments/date_day.sh
@@ -0,0 +1,6 @@
+# Prints the name of the current day.
+
+run_segment() {
+ date +"%a"
+ return 0
+}