You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jq: error: Could not open file /home/abdelrahman/.local/share/prayer.json: No such file or directory
so I tried running prayer-times.sh and it gave me this error
./prayer-times.sh: 17: [[: not found
./prayer-times.sh: 23: [[: not found
./prayer-times.sh: 23: !=: not found
Creating at jobs for prayer notification...
/home/abdelrahman/.local/bin/add-prayers-at-jobs.sh: 7: [[: not found
jq: error: Could not open file /home/abdelrahman/.local/share/prayers.json: No such file or directory
jq: error: Could not open file /home/abdelrahman/.local/share/prayers.json: No such file or directory
jq: error: Could not open file /home/abdelrahman/.local/share/prayers.json: No such file or directory
jq: error: Could not open file /home/abdelrahman/.local/share/prayers.json: No such file or directory
jq: error: Could not open file /home/abdelrahman/.local/share/prayers.json: No such file or directory
at: refusing to create job destined in the past
at: refusing to create job destined in the past
at: refusing to create job destined in the past
at: refusing to create job destined in the past
at: refusing to create job destined in the past
The text was updated successfully, but these errors were encountered:
This seems to be due to running the script using a shell other than sh/bash, does running sh prayer-times.sh or bash prayer-times.sh give the same error ?
Thank you very much for answering, now when i run prayer.sh with bash it runs fine but in polybar it is giving me an error that it gives when it runs with sh.
edit: I edited the header in prayer.sh to be #!/bin/bash and that made it work, gazak allah kol kher
The module in polybar is displaying
so I tried running prayer-times.sh and it gave me this error
The text was updated successfully, but these errors were encountered: