{"id":18286643,"url":"https://github.com/babetoduarte/sleepuntil","last_synced_at":"2025-06-10T11:33:58.005Z","repository":{"id":86315068,"uuid":"70121501","full_name":"babetoduarte/SleepUntil","owner":"babetoduarte","description":"Sleep_Until.sh - YAD GUI for RTCWake","archived":false,"fork":false,"pushed_at":"2016-10-06T04:31:28.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T06:31:54.328Z","etag":null,"topics":["linux","rtcwake","sleep","yad"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babetoduarte.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-06T04:08:19.000Z","updated_at":"2020-11-30T16:31:22.000Z","dependencies_parsed_at":"2023-03-13T09:49:01.655Z","dependency_job_id":null,"html_url":"https://github.com/babetoduarte/SleepUntil","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babetoduarte%2FSleepUntil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babetoduarte%2FSleepUntil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babetoduarte%2FSleepUntil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babetoduarte%2FSleepUntil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babetoduarte","download_url":"https://codeload.github.com/babetoduarte/SleepUntil/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babetoduarte%2FSleepUntil/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259067232,"owners_count":22800290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","rtcwake","sleep","yad"],"created_at":"2024-11-05T13:21:22.318Z","updated_at":"2025-06-10T11:33:57.991Z","avatar_url":"https://github.com/babetoduarte.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sleep_Until.sh - YAD GUI for RTCWake: Make your computer sleep and wake up at a given time\n## by Jorge A. Duarte\n\nSleepUntil is a bash script, which makes use of [YAD](https://code.google.com/archive/p/yad/) to capture data for *rtcwake* through a GUI Dialog. Through *rtcwake* the OS sleeps, and wakes up at a given time (today or tomorrow).\n\n![Alt text](SleepUntil.png?raw=true \"Application Screenshot\")\n\n### Requirements:\n####  Ubuntu: (might work on other distros):\n- For now it has been tested on Ubuntu 16.04\n\n#### YAD:\n- Install YAD using apt-get:\n```\n$ sudo apt-get install yad\n```\n\n#### Hardware Clock:\n- Hardware clock must be set to UTC. If not, the script must be edited (remove the -u flag from rtcwake):\n```\n[FILE: sleep_until.sh]\n...\n# replace \"sudo rtcwake -m mem -u -t $(date +%s -d \"$foo\")\" for:\nsudo rtcwake -m mem -t $(date +%s -d \"$foo\")\n...\n```\n\n### Instructions:\n- Download the script *'sleep_until.sh'*:\n```\n$ git clone https://github.com/babetoduarte/SleepUntil.git\n$ cd SleepUntil\n```\n- Change permissions to allow execution:\n```\n$ chmod +x sleep_until.sh\n```\n- Execute the script:\n```\n$ ./sleep_until.sh\n```\n- Input parameters on GUI:\n    - Day: ['today' / 'tomorrow']\n    - Time: [Time in 24h format (i.e. 06:30 or 22:15)]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabetoduarte%2Fsleepuntil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabetoduarte%2Fsleepuntil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabetoduarte%2Fsleepuntil/lists"}