~elis/blog/

Switching from Sway to Hyprland

Introduction After four years with Sway, I’ve decided to transition to Hyprland. My journey from EXWM to Sway began about four years ago, and I documented the experience in this post three years ago. While Sway has served me well, it has its limitations that I’ve used hacks and workarounds to circumvent. The Limitations of Sway One major drawback of Sway is its screen sharing capabilities. Although I managed to get screen sharing somewhat functional, it only allows sharing the full screen.

Read On →

Prune gh-pages branches using GitHub Actions

This website is hosted on GitHub Pages, built using nix and hugo with a custom theme that I maintain. I have automated updates for the nix flake to get new versions of hugo and nixpkgs, which applies to both my theme and the website itself. This automation generates numerous commits and deployments to the gh-pages branch, mainly due to minor version bumps of hugo and other changes to the theme. While this hasn’t been a problem for my static website, which primarily consists of text, a recent addition has created some challenges.

Read On →

NixOS superpower: specialisations

NixOS has a lot of configurability and features. One feature that I’ve known about for a while that I think is both really cool, but also a bit lesser known is the ability to have declarative Specialisations. To me, this is a superpower of NixOS that I have a hard time to see any other Linux Distribution having. What’s a Specialisation? The name doesn’t do it justice, it’s a bit of a weird name for it.

Read On →

A personal adventure with hot beverages

My history with coffee I’ve never been into coffee, every time I’ve tried them as a child or young adult they have been terrible. They have just been bitter and it’s not a taste profile I to this day enjoy at all. I have, a couple of times encountered coffee that friends have made that actually weren’t that bitter. So my reaction to it has managed to reach the level of “this isn’t terrible”.

Read On →

AI should be trained with vegan values

As artificial intelligence (AI) continues to advance, concerns have been raised about the potential dangers of AI becoming too powerful and taking over human civilization. In a recent interview, entrepreneur and CEO Elon Musk expressed his concerns about the risks associated with developing super-intelligent AI. However, his views were challenged by Larry Page, co-founder of Google, who referred to Musk as a “speciesist” for not wanting AI to become a “digital god”.

Read On →

Outsourcing NixOS compile time to Microsoft

NixOS is a Linux-distribution that may be source-based, but it has a binary cache that covers things so you generally don’t need to compile things, things tends to be cached. However, depending on how you configure your system, you may trigger compiles depending on what you do. So a thing I do is that I run Emacs 29 with the native-comp patches that is wayland native with the pgtk-branch. This is by no mean the stable Emacs release at the point of writing.

Read On →

Keeping LG webOS Developer Mode alive with Home Assistant

For over 10 years I’ve used Kodi on a separate PC connected to a TV to play back local media. A couple of weeks ago everything changed in a matter of days. I listened to Late Night Linux – Episode 179 where they talked about Jellyfin. I have looked into Jellyfin before, however I’ve disregarded it due to the lack of app for LG webOS. This changed because the podcast episode told that there was a webOS app for Jellyfin.

Read On →

First impressions of Purism Librem 5

Back in 2017, this fairly small company Purism launched a crowdfunding on their own crowdfunding platform for their future phone known as Librem 5. I went back and forth a bit, I thought through some of the history about the company and decided that I thought they may deliver some day. At least I wanted to support the effort to make a modern Linux that could fill the hole that the demise of the Nokia N900 with no worthy device following up.

Read On →

Dynamic CSS color themes with similar contrasts

This blog is built with Emacs, SCSS using Nix and deployed as static files to GitHub Pages. This blog also has quite some colors due to the syntax highlighting for code that is performed using CSS rules on HTML classes. So in total I have 15 different colors defined, in which four of them is background and foreground colors, two of them is related to link and visited link colors. Then I have nine colors remaining which are related to syntax highlighting of code.

Read On →

Mobile org-mode use with Orgzly and Syncthing

I’ve been an Emacs user for 13+ years, during this time I’ve been using org-mode on and off for different thing. Some examples where I currently use org-mode: Deployment of this website Making of presentation slides Project read me files Notes files Time reporting I’ve tried to use it for to do’s but never really managed, partly because I wanted to have a good interface for my to do’s on my phone.

Read On →