Giter VIP home page Giter VIP logo

spoi3fy's Introduction

Spoi3fy

Table of contents

About

Depends

How to install

Commands

License

About

I love the i3vm and I love the ease of use it brings using just a keyboard, but it doesn't have many features that interact with the Spotify experience, whether it be in terms of notifications or the need to pick up the mouse to change tracks and pause and resume the currently playing tracks.

Spoi3fy is a simple collection of my settings that make the experience of using the best music player with the best window manager much better.

Features

  • Show track title running on Spotify in i3 status bar.
  • Pause, resume and change tracks with keyboard with a VIM editor lover.

Example

enter image description here

Depends

i3Blocks

git clone https://github.com/vivien/i3blocks
cd i3blocks
./autogen.sh
./configure
make
make install

Access the repository for more details about the project, installation and configuration.

Spotify CLI Linux

git clone [email protected]:pwittchen/spotify-cli-linux.git
cd spotify-cli-linux
sudo cp spotifycli/spotifycli.py /usr/local/bin/spotifycli

Access the repository for more details about the project, installation and configuration.

How to install

Clone repository to your prefered location.

Move the scripts directory to your i3 config file (usually placed in ~/.config/i3/).

Insert the contents of the config file at the end of your config file, path ~/.config/i3/config.

Still in ~/.config/i3/config add the following line to the bar field.

bar {
	status_command i3blocks -c ~/.config/i3/i3blocks.conf 
}

Insert the contents of the i3blocks.conf file in your i3blocks configuration file, path ~/.config/i3/i3blocks.conf.

Restart your i3vm environment (usually Mod + Shift + R).

Commands

On Normal Mode

Key Description
<Mod + s> Enter on Spotify Mode

On Spotify Mode

Key Description
k Pause/Resume Track
l Next Track
h Previous Track
f Focus Spotify workspace
o Open Spotify
q Close Spotify
<C-c> <Escape> <Return> Exit Spotify mode

License

Copyright (c) 2023 Moisés Andrade

See the file LICENSE for information of licensing and distribution.

spoi3fy's People

Contributors

bkmoises avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.