{"id":13781071,"url":"https://github.com/okitavera/clearine","last_synced_at":"2025-05-11T14:34:34.376Z","repository":{"id":215845656,"uuid":"125365176","full_name":"okitavera/clearine","owner":"okitavera","description":"Beautiful Logout UI for X11 window manager","archived":true,"fork":false,"pushed_at":"2019-12-08T03:15:54.000Z","size":62,"stargazers_count":100,"open_issues_count":4,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-18T22:11:54.020Z","etag":null,"topics":["gtk3","logout","python","x11"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okitavera.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2018-03-15T12:38:36.000Z","updated_at":"2024-05-15T17:45:11.000Z","dependencies_parsed_at":"2024-01-09T00:29:28.905Z","dependency_job_id":"88d28567-fd09-4c78-a45a-5aa56d6d9b8d","html_url":"https://github.com/okitavera/clearine","commit_stats":null,"previous_names":["okitavera/clearine","yuune/clearine"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okitavera%2Fclearine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okitavera%2Fclearine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okitavera%2Fclearine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okitavera%2Fclearine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okitavera","download_url":"https://codeload.github.com/okitavera/clearine/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225064443,"owners_count":17415246,"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":["gtk3","logout","python","x11"],"created_at":"2024-08-03T18:01:22.636Z","updated_at":"2024-11-17T16:30:45.677Z","avatar_url":"https://github.com/okitavera.png","language":"Python","funding_links":[],"categories":["Logout Screen"],"sub_categories":[],"readme":"# Clearine\n\nBeautiful Logout UI for X11 window manager.\nInspired from oblogout and Android Oreo's power menu.\n\n## Preview\n\n* [Horizontal mode](https://user-images.githubusercontent.com/9277632/47901195-29e2bd00-de77-11e8-8ffc-0d422161bea4.png)\n* [Vertical mode](https://user-images.githubusercontent.com/9277632/47901203-2ea77100-de77-11e8-8b85-321c7b2e8bfd.png)\n\n## Dependencies\n\n- python (version 3)\n- python-gobject\n- python-cairo\n\n\n## Installation\n\nFor Arch user, you can install it via AUR insteads:\n\n    $ yaourt -S clearine-git\n\nFor Void user :\n\n    $ sudo xbps-install -S clearine\n\n---\n## Install from source\n\nInstall the dependencies first:\n\n    $ sudo pacman -S python-cairo python-gobject # Arch Linux\n\nclone this repo into your local storage:\n\n    $ git clone https://github.com/yuune/clearine.git\n    $ cd clearine\n\nthen install via pip:\n\n    $ pip install .\n\nif you not using pip, you can run setup.py directly:\n\n    $ python3 setup.py install --prefix=/usr --root=\"/\" --optimize=1\n\n\n\n## Configuration file\n\nClearine basically read configuration from  \"~/.config/clearine.conf\"  .\nif that file is unavailable, clearine will read from  \"/etc/clearine.conf\" or \"/usr/share/clearine/clearine.conf\" insteads.\n\n\n## Configuration format\n\nThe configuration format is using section-style like this :\n```\n[main]\n    # set background opacity\n    opacity = 0.8\n    # set gaps\n    gap-left = 70\n    gap-right = 70\n    gap-top = 70\n    gap-bottom = 70\n    # set mode (vertical/horizontal)\n    mode = horizontal\n    # set spacing between card and widget\n    spacing = 20\n\n[command]\n    # set command to launch when the button is clicked\n    logout = openbox --exit\n    lock = i3lock\n    restart = systemctl reboot\n    shutdown = systemctl poweroff\n    \n[shortcuts]\n    cancel = Escape\n    lock = K\n    suspend = P\n    hibernate = H\n    logout = L\n    restart = R\n    shutdown = S\n\n[card]\n    # set background color and border radius for card\n    background-color = #e1e5e8\n    border-radius = 5\n    # set padding\n    padding-bottom = 10\n    padding-left = 10\n    padding-right = 10\n    padding-top = 10\n\n[button]\n    # button theme name\n    theme = Clearine-Fallback\n    # button item sort\n    items = logout, lock, restart, shutdown, cancel\n    # set button text font and text color\n    label-font = DejaVu Sans Book 9\n    label-size = 9\n    label-color = #101314\n    # set button width and height\n    width = 70\n    height = 70\n    # set button icon width and height\n    icon-width = 32\n    icon-height = 32\n    # set per-button margin\n    margin-bottom = 0\n    margin-left = 0\n    margin-right = 0\n    margin-top = 0\n    # set spacing between button\n    spacing = 0\n    # opacity\n    opacity-normal = 0.7\n    opacity-focus = 1.0\n\n[widget]\n    # set widget first line font, size, color and format\n    firstline-font = DejaVu Sans ExtraLight\n    firstline-size = 90\n    firstline-color = #e1e5e8\n    firstline-format = %H.%M\n    # set widget second line font, size, color and format\n    secondline-font = DejaVu Sans Book\n    secondline-size = 14\n    secondline-color = #e1e5e8\n    secondline-format = %A, %d %B %Y\n```\n\nFor the color, you can use hex format like this :\n```\n[card]\n    background-color = #e1e5e8\n```\nor you can get color from your X resources, by using format like this:\n```\n[card]\n    background-color = {background}\n\n[widget]\n    firstline-color = {color6}\n```\n\n## Themes\n\nYou can use the png or svg for the icon button.\n\nSee `/usr/share/themes/Clearine-Fallback` for example\n\n\n## Credits\n\n* [Google Material Design Icon Family](https://google.github.io/material-design-icons/)\n* [@fikriomar26](https://github.com/fikriomar16)\n\n## License\n\nThe code is available under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokitavera%2Fclearine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokitavera%2Fclearine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokitavera%2Fclearine/lists"}