Add hyprstack config

This commit is contained in:
2024-07-06 12:59:14 +03:00
parent ead8c1df03
commit b820d657ee
32 changed files with 1417 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
(defwidget clock []
(box :class "clock"
:orientation "h"
:space-evenly false
:halign "center"
date-time)
)
(defpoll date-time :interval "1s"
"sh widgets/clock/date-time.sh")
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env sh
DaySuffix() {
case `date +%-d` in
1|21|31) echo "st";;
2|22) echo "nd";;
3|23) echo "rd";;
*) echo "th";;
esac
}
date=$(date "+%a, %b %-d`DaySuffix` · %H:%M")
printf "%s" "$date"