From 4bfdafe13399e66d6fdb487873630c3678a3a28c Mon Sep 17 00:00:00 2001 From: omagdy7 Date: Sat, 21 Oct 2023 01:04:41 +0300 Subject: Migrated to lazyvim --- scripts/.scripts/posture.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/.scripts/posture.sh (limited to 'scripts/.scripts') diff --git a/scripts/.scripts/posture.sh b/scripts/.scripts/posture.sh new file mode 100755 index 0000000..0f59da3 --- /dev/null +++ b/scripts/.scripts/posture.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +MINS=30 +TIME=$(echo "60*$MINS" | bc) + +while true; do + sleep "$TIME" && notify-send -t 5000 "Postrue" "This is a friendly reminder to change your posture" +done -- cgit v1.2.3