📦 Created config files with common code
- Created common.nix for various configs - Created theme.nix for theme related configs - Moved some code to more logical files - Moved some standalone files into nix multiline strings, in order to inject data
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
cursorSize = 24;
|
||||
cursorTheme = "rose-pine-hyprcursor";
|
||||
cursorDir = "hyprcursors";
|
||||
in
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
@ -7,12 +11,23 @@
|
||||
];
|
||||
|
||||
file = {
|
||||
".local/share/icons/rose-pine-hyprcursor/manifest.hl".source = ./manifest.hl;
|
||||
".local/share/icons/rose-pine-hyprcursor/hyprcursors" = {
|
||||
source = ./hyprcursors;
|
||||
".local/share/icons/${cursorTheme}/manifest.hl".text = ''
|
||||
name = ${cursorTheme}
|
||||
description = BreezeX remixed with Rose Pine remixed to Hyprcursor format
|
||||
version = 0.3.2
|
||||
cursors_directory = ${cursorDir}
|
||||
'';
|
||||
".local/share/icons/${cursorTheme}/${cursorDir}" = {
|
||||
source = ./${cursorDir};
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
XCURSOR_SIZE = cursorSize;
|
||||
HYPRCURSOR_SIZE = cursorSize;
|
||||
HYPRCURSOR_THEME = cursorSize;
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
|
Reference in New Issue
Block a user