38 lines
982 B
Nix
38 lines
982 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
activeWallpaper = if config.nomarchy.wallpaper != "" then
|
|
config.nomarchy.wallpaper
|
|
else "${../../assets/themes/catppuccin/backgrounds/1-totoro.png}";
|
|
hyprlandState = config.nomarchy.hyprland;
|
|
in
|
|
{
|
|
home.sessionVariables = {
|
|
WLR_NO_HARDWARE_CURSORS = "1";
|
|
HYPRLAND_LOG_WLR = "1";
|
|
};
|
|
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
settings = {
|
|
"debug" = {
|
|
"disable_logs" = false;
|
|
"enable_stdout_logs" = true;
|
|
};
|
|
"cursor" = {
|
|
"no_hardware_cursors" = true;
|
|
};
|
|
"general" = {
|
|
"gaps_in" = hyprlandState.gaps_in;
|
|
"gaps_out" = hyprlandState.gaps_out;
|
|
"border_size" = hyprlandState.border_size;
|
|
"col.active_border" = "rgb(${config.colorScheme.palette.base0E})";
|
|
"col.inactive_border" = "rgb(${config.colorScheme.palette.base03})";
|
|
};
|
|
};
|
|
extraConfig = ''
|
|
source = ~/.config/hypr/nomarchy.conf
|
|
'';
|
|
};
|
|
}
|