From e56b8e2acb9af4ccdcc50415901cb65df18bcb26 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 27 Oct 2024 23:11:40 +0800 Subject: add: hyprsunset.sh --- hyprsunset.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 hyprsunset.sh diff --git a/hyprsunset.sh b/hyprsunset.sh new file mode 100755 index 0000000..680e9cb --- /dev/null +++ b/hyprsunset.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +time=$(date +%H) + +if [ $time -ge 6 -a $time -lt 20 ]; then + killall hyprsunset +else + hyprsunset & +fi -- cgit v1.2.3