We all know Cyberpunk 2077 got a bad name these days, after years of hyping the game up and promising too much they really messed up. Nevertheless I’ve been enjoying the game a lot, even with the bugs.
But there is this one particular “bug” that I found after exploring the map, I did not do anything remotely out of the ordinary and basically broke the game by opening a window.
This post exist of two different projects, the first one is Spotify-tui, and de second is Spotifyd.
Spotify-tui Spotify-tui is a terminal interface using the web API and is witten in the Rust language, however, it does not play the songs itself. It only uses the API to select/play a song, you’ll need another piece of the puzzle to actually play the music.
Since Spotify-tui is written in Rust it’s very memory efficient and safe, meaning it will never do unexpected things.
Since I’m on a streak of optimising my workflow in the terminal, I started to use Vi/Vim/Nvim as my default editor. The reason being it’s (almost) always installed by default, and it’s really powerful once you learn only a couple of shortcuts.
Currently I use Neovim on my development machine because it’s fast, extensable and overal very nice to use. The only thing I really have to get used to is the hjkl format of movement, I know you shouldn’t use them often in the first place but as a Vi newbie it’s a very nice thing to fall back to something familiar like the arrow keys to move around.
As per my previous blog post, I’ve discovered Alacritty but it has no tab functionality. That’s why I started using Tmux more outside of server management. Locally I now have multiple sessions with multiple windows that (can) have multiple panes. I have two sessons running, my personal dev environment and one for work.
I also have a separate tmux window for Spotify-tui, I might make a blog post about that in the future with Spotifyd.
I’ve recently come across a new terminal emulator called Alacritty, it is a new terminal emulator written in Rust. It uses the GPU to accellerate the calculations it needs to make which results in a more responsive terminal, some commands like tree also seem to run faster.
Check out this video from DistroTube: The terminal emulator is still in beta and does not have any GUI to edit the settings, all settings need to be defined in a YAML config file.