{"id":13407495,"url":"https://github.com/Coffelius/rofi-code","last_synced_at":"2025-03-14T12:31:04.881Z","repository":{"id":57543745,"uuid":"287348419","full_name":"Coffelius/rofi-code","owner":"Coffelius","description":"Use rofi to quickly open VSCode or Codium workspaces","archived":false,"fork":false,"pushed_at":"2023-05-08T21:07:41.000Z","size":1865,"stargazers_count":26,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-07-30T20:25:45.447Z","etag":null,"topics":["codium","rofi","rofi-menus","rofi-scripts","unixporn","vscode"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Coffelius.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":"2020-08-13T18:04:56.000Z","updated_at":"2024-05-23T16:42:32.000Z","dependencies_parsed_at":"2024-01-16T15:44:54.232Z","dependency_job_id":"28f7d1d3-66b3-46f3-9ad5-ee03af39497b","html_url":"https://github.com/Coffelius/rofi-code","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coffelius%2Frofi-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coffelius%2Frofi-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coffelius%2Frofi-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Coffelius%2Frofi-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Coffelius","download_url":"https://codeload.github.com/Coffelius/rofi-code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243577787,"owners_count":20313701,"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":["codium","rofi","rofi-menus","rofi-scripts","unixporn","vscode"],"created_at":"2024-07-30T20:00:41.171Z","updated_at":"2025-03-14T12:31:04.608Z","avatar_url":"https://github.com/Coffelius.png","language":"Go","readme":"# rofi-code\nUse rofi to quickly open Visual Studio Code or Codium workspaces. Since I use it, I have more time to enjoy with my friends and family.\n\n## How to use it\n\nJust run `rofi-code` and a popup window should appear showing the list of all your workspaces. Get the list filtered by typing text, use the arrow keys to displace the cursor to the workspace you want to open, and press enter. That's it.\n\nIf you want to customize the behaviour you could use any of the options provided using the command line.\n\nFor a list of flags and options just type run `rofi-code --help` in your terminal:\n\n```console\nfoo@bar:~$ rofi-code --help\nusage: rofi-code [-h|--help] [-d|--dir \"\u003cvalue\u003e\"] [-s|--sort (time|path|name)]\n                 [-f|--full] [-o|--output] [-r|--rofi \"\u003cvalue\u003e\"] [-c|--code\n                 \"\u003cvalue\u003e\"]\n\n                 Use rofi to quickly open a VSCode or Codium workspace\n\nArguments:\n\n  -h  --help    Print help information\n  -d  --dir     Comma separated paths to the config directories. Default:\n                ~/.config/VSCodium,~/.config/Code\n  -s  --sort    How the workspaces should be sorted. Default: time\n  -f  --full    Show the full path instead of collapsing the home directory to\n                a tilde. Default: false\n  -o  --output  Just prints the workspaces to stdout and exit. Default: false\n  -r  --rofi    Command line to launch rofi. Default: rofi -dmenu -p \"Open\n                workspace\" -no-custom\n  -c  --code    Command line to launch the editor. It will try to detect codium\n                or code\n```\nI use `rofi-code` everyday using a keystroke combination in my [i3 window manager](https://i3wm.org/) setup with the following line in `~/.config/i3/config`.\n\n```\nbindsym $mod+Shift+v exec --no-startup-id rofi-code\n```\n\n## Requirements\n\nOf course you will need [rofi](https://github.com/davatorium/rofi) installed. \n\nAlso you will be required to have installed the go language tools in your system as a prerequisite to build this software. Why? Because this is coded in go.\n## Install in Arch Linux\n\nUse any Arch User Repository helper `yaourt`, `yay`, `paru` for installing the [rofi-code-git package](https://aur.archlinux.org/packages/rofi-code-git)\n\nFor example:\n```console\nfoo@bar:~$ yay -S rofi-code-git\n```\n\n## Install from sources\n\nRun the following commands in your terminal\n\n```console\nfoo@bar:~$ git clone https://github.com/Coffelius/rofi-code.git\nfoo@bar:~$ make install\n```\n\n\n","funding_links":[],"categories":["Other"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCoffelius%2Frofi-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCoffelius%2Frofi-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCoffelius%2Frofi-code/lists"}