Add hyprland theming

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-06-26 13:31:12 +03:00
parent d9a3936d51
commit c1ad1ee640
8 changed files with 88 additions and 45 deletions

View File

@@ -7,11 +7,6 @@ let
runtimeInputs = with pkgs; [ coreutils-full ];
bashOptions = [ "nounset" "pipefail" ];
text = ''
if [ -z "''${WAYLAND_DISPLAY:-}" ]; then
echo "No Wayland session active. Exiting."
exit 0
fi
[ ! -L "${cfg.configDir}/wallpaper" ] && ln -sf "${cfg.wallpaper}" "${cfg.configDir}/wallpaper"
[ ! -f "${cfg.configDir}/mode" ] && echo "${cfg.mode}" > "${cfg.configDir}/mode"
@@ -177,13 +172,13 @@ in
radius = mkOption {
type = ints.unsigned;
default = 24;
default = 8;
description = "The radius of corners.";
};
padding = mkOption {
type = ints.unsigned;
default = 12;
default = 8;
description = "The padding of windows.";
};