This commit is contained in:
2026-07-12 08:16:17 +03:30
commit 72be1234e1
2027 changed files with 221388 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#!bash
cal -m
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
day_of_month=$(date +"%d")
day_of_month=$(echo $day_of_month | sed 's/^0*//')
if [[ $day_of_month -ge 11 && $day_of_month -le 13 ]]; then
suffix="th"
else
case $((day_of_month % 10)) in
1) suffix="st" ;;
2) suffix="nd" ;;
3) suffix="rd" ;;
*) suffix="th" ;;
esac
fi
echo "${day_of_month}${suffix}"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
day_type=$(date +"%a")
echo "$day_type"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
month=$(date +"%b")
echo "$month"
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# Reload/Open eww
eww kill
eww daemon
eww open year
eww open month
eww open day
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
year=$(date +"%Y")
echo "$year"