{"id":19445578,"url":"https://github.com/s5bug/spotifyi3","last_synced_at":"2025-02-25T08:28:52.462Z","repository":{"id":82075939,"uuid":"131454147","full_name":"s5bug/spotifyi3","owner":"s5bug","description":"Displays current song in i3bar","archived":false,"fork":false,"pushed_at":"2018-04-29T02:08:36.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T22:51:25.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s5bug.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":"2018-04-29T00:30:09.000Z","updated_at":"2018-04-29T02:08:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"efc3a053-db11-43c7-b5f0-11ad1d8aa712","html_url":"https://github.com/s5bug/spotifyi3","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/s5bug%2Fspotifyi3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5bug%2Fspotifyi3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5bug%2Fspotifyi3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s5bug%2Fspotifyi3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s5bug","download_url":"https://codeload.github.com/s5bug/spotifyi3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240630515,"owners_count":19832080,"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":[],"created_at":"2024-11-10T16:11:09.974Z","updated_at":"2025-02-25T08:28:51.816Z","avatar_url":"https://github.com/s5bug.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spotifyi3\n\nSpotify CLI for Linux required: `(sudo) pip install spotify-cli-linux`\n\n## Building\n\n`git clone https://github.com/TsundereBug/spotifyi3 \u0026\u0026 cd spotifyi3`\n\n`sbt assemble`\n\nThere will now be a `spotifyi3-assembly-0.1.jar` under `target/scala-2.12/`.\n\n## Enabling\n\nCreate a new directory anywhere you want. I will be calling this directory\n`$cdir`.\n\nFind your i3 config (most likely under `~/.config/i3/config`). Set the part\nwith `bar` like this:\n```\n# Start i3bar to display a workspace bar (plus the system information i3status\n# finds out, if available)\nbar {\n        status_command $cdir/spotbar.sh\n}\n```\nNow copy the `spotifyi3-assembly-0.1.jar` to `$cdir` with the name\n`spotifyi3.jar`.\n[Create a config file\nnamed `$conf.conf` in `$cidr`.](https://i3wm.org/i3status/manpage.html)\nMake sure this configuration sets i3status to `i3bar` mode or\nelse JSON parsing will fail and you will get errors!\nThen, create `$cdir/spotbar.sh` with the following content:\n```sh\n#!/bin/sh\n# shell script to prepend i3status with spotify song and artist\ni3status --config $cdir/$conf.conf | java -jar $cdir/spotifyi3.jar\n```\nRemember to replace `$cdir` and `$conf.conf` with the actual locations\nin these files.\n\nRestart i3 to restart the bar using `meta+shift+R`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs5bug%2Fspotifyi3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs5bug%2Fspotifyi3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs5bug%2Fspotifyi3/lists"}