added scripts for hyprlock

This commit is contained in:
Hannes
2026-08-22 15:42:30 +02:00
parent 50e7c7a9aa
commit f8d3983603
2 changed files with 22 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
s=$(cut -d. -f1 /proc/uptime)
h=$((s / 3600))
m=$(((s % 3600) / 60))
printf "%02d:%02dh" "$h" "$m"