feat: easy theme switching with stylix, specialisations, and a rofi script; feat: switch to kitty terminal

This commit is contained in:
2025-12-18 20:49:12 -05:00
parent d708b43395
commit f082e5a1d3
8 changed files with 36 additions and 15 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
{ config, ... }:
{ config, pkgs, ... }:
{
home.packages = [ pkgs.libnotify ];
xdg.configFile."rofi/config.rasi".text = ''
configuration{
modi: "run,drun,window";
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
if [[ -n $1 ]]; then
sudo /nix/var/nix/profiles/system/specialisation/$1/bin/switch-to-configuration test > /dev/null
notify-send "Switched to theme $1"
exit 0
fi
ls /nix/var/nix/profiles/system/specialisation/