diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-10-27 23:11:40 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-10-27 23:11:40 +0800 |
| commit | e56b8e2acb9af4ccdcc50415901cb65df18bcb26 (patch) | |
| tree | e91b3a7890def6d5742bbdc8dab064727bdd53ef /hyprsunset.sh | |
| parent | dec3fb3dedac4db029b8f5d99077b79ae159cb88 (diff) | |
add: hyprsunset.sh
Diffstat (limited to 'hyprsunset.sh')
| -rwxr-xr-x | hyprsunset.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |
