Linux, plaintext & minimalism

Cleaning up filenames with detox

Detox is a neat little command-line tool that helps you clean up filenames. It will either remove or replace weird character, like Á will be replaced with A, an empty space with _ and it’s even smart enough to replace CGI escaped ASCII characters like %20 with _. Continue reading →

Manage Pulseaudio with the Ncurses mixer ncpamixer

I wanted to record some audio the other day, but for some reason ALSA didn’t want to play nice with me. It sounded like I used a tin can as a microphone across a soccer field. Continue reading →

Launch Twitch streams via Rofi using Twitchy

I wrote this little script for Rofi that lets me launch Twitch streams using Twitchy. It requires Rofi, Twitchy and Streamlink to work. Continue reading →

Adding a pause indicator to mpv media player

Depending on what you’re watching, it’s not always that obvious when you pause a video in mpv. I also often tend to pause the video by mistake and confuse myself even further, so I looked it up and found a script called pause-indicator.lua that adds just that. Continue reading →

Use a pixelated version of your desktop as your lockscreen with i3lock

I decided it was time to spice up my lockscreen, I’ve been using the same old static picture for what feels like years now. Continue reading →

Tab completion for i3 commands in Bash and zsh

Something I miss from other window managers like Herbstluftwm is tab completion in the shell for the commands and features it supports. Partly because I’m lazy and partly because it’s not that easy to remember every feature when you rarely use them. Continue reading →

ytp - A super light command-line client for YouTube

I’ve been using youtube-viwer for a long time now and it’s a great command-line client for YouTube. It’s packed with features that allow you to use pretty much every feature possible on YouTube, but it comes at a price; the footprint. Continue reading →

Adding line numbers to a list in Vim with awk

I have finally found a good way of adding line numbers to a list in Vim. Most tips I’ve found so far has been overly complicated and with various success, this option uses awk and it’s in return a bit simpler. Continue reading →

Automatically converting emojis to plain text in WeeChat

Something I’m not a huge fan of is emojis, I have always preferred using the classic emoticons like :). And it’s not that emojis are all bad, it’s just that they’re not very consistent across devices, sometimes not even across applications on the same device and some applications don’t even support emojis to begin with. Continue reading →

Automatically disable syntax highlighting in Vim when editing the zsh buffer

I often edit my zsh buffer in Vim and one of the reasons for it is to have access to spell check (using GNU Aspell). Continue reading →