This commit is contained in:
ryfrd 2025-08-20 15:19:24 +01:00
parent 2a9167cb7e
commit 96573664a6
95 changed files with 4130 additions and 2328 deletions

View file

@ -2,4 +2,4 @@ This is a place to document bits and bobs I've been up to that have interested m
Expect linux and self-hosting tinkering, some novice programming, and maybe the occasional recipe.
I tend to be a fool so take anything written here with a pinch of salt :)
- [rss HERE!!](../index.xml)
[rss feed here!](../index.xml)

View file

@ -11,6 +11,7 @@ draft: false
I recently started fiddling around with home-managerifying my neovim config.
After moving across most of my stuff I came across the problem of how to hook things up with with [nix-colors](https://github.com/misterio77/nix-colors) so that my neovim theme would follow color changes in home-manager.
<!--more-->
Luckily, I came across [this](https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-base16.md) handy little plugin from the lovely [mini.nvim](https://github.com/echasnovski/mini.nvim) suite of plugins which lets you create your own theme with your custom colors.

View file

@ -1,6 +1,6 @@
---
title: Multi user qtile fiddling
date: 2022-12-20
date: 2022-12-20
tags:
- qtile
- python

View file

@ -9,6 +9,7 @@ draft: false
As is traditional with people hosting their own blog I'm going to do a post detailing EXACTLY how I'm hosting my blog.
Down to the last dirty detail.
I have nothing better to talk about.
<!--more-->
Here is a diagram I edited to illustrate (credit to xkcd I think?).
![self-hosting](/image/self-hosting.png)

View file

@ -12,6 +12,7 @@ I'm declining cookies.
I'm getting spammed with notifications to claim a sick new overwatch skin.
There's a little channel point button twerking for me to click it.
You get the idea; it's a heavy noisy experience.
<!--more-->
As a result I set out to devise a solution which does spark joy.
I came up with a script which leans on DIY desktop staples (dunst, tofi, mpv) and the very nice cli utility [streamlink](https://github.com/streamlink/streamlink).
@ -71,7 +72,7 @@ if [[ -n "$choice" ]]; then
# get first column from selection aka stream name
meat=$(echo "$choice" | awk '{print $1}')
"${NOTIFY}" "twitch -- launching twitch.tv/$meat"
streamlink twitch.tv/"$meat" 1080p60 --player $"{PLAYER}"
streamlink twitch.tv/"$meat" 1080p60 --player "${PLAYER}"
fi
```
@ -104,3 +105,5 @@ fi
- no chat (you might want to spam LUL)
- takes a second to talk to the internet so things don't launch immediately
- have to faff with getting api key - [how to get one btw](https://dev.twitch.tv/docs/api/get-started/)
Hope you enjoyed bye

3
content/search/_index.md Normal file
View file

@ -0,0 +1,3 @@
---
layout: "search"
---