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 let
xdgDataHome = config.home-manager.users.${user.username}.xdg.dataHome; xdgDataHome = config.home-manager.users.${user.username}.xdg.dataHome;
in in
@@ -12,24 +19,9 @@ in
home.packages = with pkgs; [ wofi ]; home.packages = with pkgs; [ wofi ];
# Wofi configuration # Wofi configuration
xdg.configFile."wofi/config".text = '' xdg.configFile."wofi/config".source = "${flakeRoot}/assets/system/conf/wofi/wofi.conf";
dark
width=500
height=800
lines=10
columns=1
cache_dir=${xdgDataHome}/wofi
allow_images=true
allow_markup=true
show_drun=true
'';
# Catppuccin Mocha theme for Wofi # Custom Catppuccin Mocha theme for Wofi
xdg.configFile."wofi/style.css".text = builtins.readFile "${pkgs.fetchFromGitHub { xdg.configFile."wofi/style.css".source = "${flakeRoot}/assets/system/conf/wofi/theming.css";
owner = "catppuccin";
repo = "wofi";
rev = "a0c34a8e9d3a1f71b1b2a8e3b5b8e3e8b1b3b8e3"; # Replace with the correct SHA256 hash
sha256 = "0000000000000000000000000000000000000000000000000000"; # Replace with the correct SHA256 hash
}}/style-mocha.css";
}; };
} }