Add hyprland theming
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -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.";
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user