{"id":16209460,"url":"https://github.com/alichtman/rofi-insect","last_synced_at":"2026-02-19T01:06:53.274Z","repository":{"id":111159996,"uuid":"593997284","full_name":"alichtman/rofi-insect","owner":"alichtman","description":"Imitation `macOS Spotlight Calculator` for Linux","archived":false,"fork":false,"pushed_at":"2023-01-27T14:17:31.000Z","size":3678,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T12:52:57.108Z","etag":null,"topics":["dmenu","dmenu-calc","dmenu-scripts","insect","rofi","rofi-calc","rofi-calculator","rofi-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/alichtman.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-27T10:55:15.000Z","updated_at":"2023-07-30T12:30:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"3653d57a-2e76-4e3b-9c46-1ff41e1e389b","html_url":"https://github.com/alichtman/rofi-insect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alichtman/rofi-insect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alichtman%2Frofi-insect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alichtman%2Frofi-insect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alichtman%2Frofi-insect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alichtman%2Frofi-insect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alichtman","download_url":"https://codeload.github.com/alichtman/rofi-insect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alichtman%2Frofi-insect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29600460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T00:59:38.239Z","status":"ssl_error","status_checked_at":"2026-02-19T00:59:36.936Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dmenu","dmenu-calc","dmenu-scripts","insect","rofi","rofi-calc","rofi-calculator","rofi-scripts"],"created_at":"2024-10-10T10:29:46.062Z","updated_at":"2026-02-19T01:06:53.250Z","avatar_url":"https://github.com/alichtman.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rofi-insect\n\n[insect](https://github.com/sharkdp/insect) plugin for [`rofi`](https://github.com/davatorium/rofi) / `dmenu`. This is an analog of [macOS Spotlight calculator functions](https://macandegg.com/2020/12/use-macos-spotlight-search-as-calculator/) for Linux.\n\nhttps://user-images.githubusercontent.com/20600565/215080362-7c188e15-2d56-421d-abec-9bf88b44df60.mp4\n\n\u003e **Note**\n\u003e Watch the demo in full screen for much better quality.\n\n## Usage\n\n`insect` is used as the calculator back-end. You can pass any operation `insect` can handle.\n\n## Recommended Installation + Configuration\n\nI integrate this with [`rofi-bangs.sh`](https://github.com/gotbletu/shownotes/blob/master/rofi-scripts-collection/rofi-bangs.sh).\n\n```bash\n## ~/.config/rofi/scripts/rofi-bangs.sh\n...\n\n# Use calculator (insect)\nCOMMANDS[\"calc\"]=\"$XDG_CONFIG_HOME/rofi/scripts/rofi-insect/rofi-insect.sh\"\nLABELS[\"calc\"]=\"\"\n```\n\nAnd I have `rofi-bangs` integrated with [`sxhkd`](https://github.com/baskerville/sxhkd).\n\n```bash\n## ~/.config/sxhkd/sxhkdrc\n...\nalt + @m\n        ~/.config/rofi/scripts/rofi-bangs.sh\n```\n\nI press `Alt + m` on my keyboard, and get the `rofi-bangs` popup. I can then enter `calc` mode.\n\nIf you want faster access to the calculator, you can add an entry in your `sxhkdrc` like:\n\n```bash\nalt + 7\n    $XDG_CONFIG_HOME/rofi/scripts/rofi-insect/rofi-insect.sh\n```\n\n## Dependencies\n\n1. `insect`\n2. `xsel`\n3. `rofi` or `dmenu`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falichtman%2Frofi-insect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falichtman%2Frofi-insect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falichtman%2Frofi-insect/lists"}