{"id":19430257,"url":"https://github.com/8dcc/sclock","last_synced_at":"2025-02-25T05:42:57.424Z","repository":{"id":242774331,"uuid":"810452827","full_name":"8dcc/sclock","owner":"8dcc","description":"Simple graphical clock","archived":false,"fork":false,"pushed_at":"2024-06-24T12:02:09.000Z","size":344,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T12:14:31.937Z","etag":null,"topics":["c","clock","pomodoro","pomodoro-timer","productivity","sdl","stopwatch"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/8dcc.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-04T18:16:14.000Z","updated_at":"2024-06-29T16:46:03.000Z","dependencies_parsed_at":"2024-06-24T13:41:29.102Z","dependency_job_id":null,"html_url":"https://github.com/8dcc/sclock","commit_stats":null,"previous_names":["8dcc/sclock"],"tags_count":1,"template":false,"template_full_name":"8dcc/sdl-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fsclock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fsclock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fsclock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fsclock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8dcc","download_url":"https://codeload.github.com/8dcc/sclock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240612541,"owners_count":19829027,"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":["c","clock","pomodoro","pomodoro-timer","productivity","sdl","stopwatch"],"created_at":"2024-11-10T14:24:09.086Z","updated_at":"2025-02-25T05:42:57.368Z","avatar_url":"https://github.com/8dcc.png","language":"C","readme":"#+title: sclock\n#+options: toc:nil\n#+startup: showeverything\n#+author: 8dcc\n\n*Simple graphical clock.*\n\n#+TOC: headlines 2\n\n* Description\n\nThis project was inspired by [[https://github.com/tsoding/sowon][tsoding/sowon]].\n\n* Building\n\nTo build the project, simply clone the repository and run =make= or =make\ninstall=. Then run =./sclock=.\n\n#+begin_src console\n$ git clone https://github.com/8dcc/sclock\n$ cd sclock\n$ make\n...\n$ make install\n...\n$ ./sclock --help\n...\n#+end_src\n\n* Modes\n\nYou can change the mode by providing a keyword when launching the program:\n\n#+begin_src bash\n./sclock \u003ckeyword\u003e\n#+end_src\n\nThese are the supported modes:\n\n| Keyword   | Description                                                                       |\n|-----------+-----------------------------------------------------------------------------------|\n| ~clock~     | Display the current time. Default mode                                            |\n| ~stopwatch~ | Start counting from zero                                                          |\n| ~pomodoro~  | Same as ~stopwatch~, but the text color changes depending on the [[https://en.wikipedia.org/wiki/Pomodoro_Technique][Pomodoro cycle]] (1) |\n\nNotes:\n1. In this case, ~pomodoro~ cycle consists of 25 minutes of work and 5 of\n   rest. After 4 work cycles, the rest is 30 minutes instead of 5.\n\n* Keybinds\n\nThese are the keybinds common for all modes:\n\n| Key    | Description                         |\n|--------+-------------------------------------|\n| ~q~, ~ESC~ | Quit the program                    |\n| ~t~, ~p~   | Change color palette (theme)        |\n| ~g~      | Toggle the grid (dotted background) |\n| ~f~, ~F11~ | Toggle full-screen                  |\n\nThese are the keybinds specific to the /stopwatch/ and /pomodoro/ modes:\n\n| Key | Description                   |\n|-----+-------------------------------|\n| ~SPC~ | Pause or resume the stopwatch |\n| ~r~   | Reset the stopwatch to zero   |\n\n* Customizing\n\nYou can easily change the colors and behavior of the program by editing the\n[[./src/config.h][src/config.h]] file.\n\nTo change the font, you can edit the [[./digits.xcf][digits.xcf]] file with [[https://www.gimp.org/][GIMP]] and export the\n[[https://en.wikipedia.org/wiki/Texture_atlas][atlas]] as a C source file. You will need to modify it a bit, so it includes the\n=digits.h= header and uses the =GimpImage= type.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8dcc%2Fsclock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8dcc%2Fsclock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8dcc%2Fsclock/lists"}