Caution
I've moved this gist over to a template repository here. Everything here is unmaintained...
Following are the extensions required for neovim:
Caution
I've moved this gist over to a template repository here. Everything here is unmaintained...
Following are the extensions required for neovim:
I've been making an effort for a while to hit like on songs I like, mainly so I can always fail over to a playlist of liked songs. I generally use GPMDP as my main player and Polybar as my taskbar. I control my media player using playerctl and a while back I wrote songliker to set up a shortcut to like my songs. I decided to put it all together into a neat little polybar module and thought others might enjoy this.
I'm including the necessary files to do this yourself, although this might not work for you 'as-is' since I have a pretty customized systemd service management set up. Easiest way would be to just ignore the systemd stuff and just add an exec now_playing, but I'm including it here in case you want to use it and just modify that.
This will display the currently playing song in your bar in the following format {artist} - {song} | {liked?}. It uses Nerd Font symbols for a prefixing musical note and a thumbs up outline if not liked, or full if liked. It wi
Refer to the arch wiki: https://wiki.archlinux.org/index.php/Sway
pacman -S sway westonmkdir -p ~/.config/sway
cp ~/.i3/config ~/.config/sway/config
| #recipe from https://milkator.wordpress.com/2014/07/19/windows-executable-from-python-developing-in-ubuntu/ | |
| # allows to cross-compile a window(32bits) .exe out of a python script under linux. | |
| cat > test.py <<< EOF | |
| print "hello world !" | |
| EOF | |
| apt-get install scons wine | |
| git clone https://github.com/pyinstaller/pyinstaller |
| #! /bin/bash | |
| # build the environment | |
| mkdir tessenv; cd tessenv | |
| TROOT=`pwd` | |
| mkdir $TROOT/stockfonts; mkdir $TROOT/build; mkdir $TROOT/build/eng | |
| echo "Environment built" | |
| # Get the stock english fonts from Google (old, but they work) | |
| cd $TROOT/stockfonts | |
| GET http://tesseract-ocr.googlecode.com/files/boxtiff-2.01.eng.tar.gz > boxtiff-2.01.eng.tar.gz |