Adding Wofi theming

This commit is contained in:
2026-03-14 12:36:22 +01:00
parent 1274d0e1f0
commit c45c9403df
@@ -1,4 +1,11 @@
{ config, pkgs, lib, user, flakeRoot, ... }:
{
config,
pkgs,
lib,
user,
flakeRoot,
...
}:
let
xdgDataHome = config.home-manager.users.${user.username}.xdg.dataHome;
in
@@ -12,24 +19,9 @@ in
home.packages = with pkgs; [ wofi ];
# Wofi configuration
xdg.configFile."wofi/config".text = ''
dark
width=500
height=800
lines=10
columns=1
cache_dir=${xdgDataHome}/wofi
allow_images=true
allow_markup=true
show_drun=true
'';
xdg.configFile."wofi/config".source = "${flakeRoot}/assets/system/conf/wofi/wofi.conf";
# Catppuccin Mocha theme for Wofi
xdg.configFile."wofi/style.css".text = builtins.readFile "${pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "wofi";
rev = "a0c34a8e9d3a1f71b1b2a8e3b5b8e3e8b1b3b8e3"; # Replace with the correct SHA256 hash
sha256 = "0000000000000000000000000000000000000000000000000000"; # Replace with the correct SHA256 hash
}}/style-mocha.css";
# Custom Catppuccin Mocha theme for Wofi
xdg.configFile."wofi/style.css".source = "${flakeRoot}/assets/system/conf/wofi/theming.css";
};
}