diff --git a/modules/apps/gui/games/norisk/default.nix b/modules/apps/gui/games/norisk/default.nix index 75c93ce..4d42ccf 100644 --- a/modules/apps/gui/games/norisk/default.nix +++ b/modules/apps/gui/games/norisk/default.nix @@ -13,10 +13,11 @@ src = pkgs.fetchurl { url = "https://github.com/NoRiskClient/noriskclient-launcher/releases/download/v0.5.10/NoRiskClient-Linux.AppImage"; hash = "sha256-y5kXP3kEW0UsV04JBeJCvSOuJf3/zo5s7ZigOpxbwkk="; - }; }; }; + backgroundUrl = "https://raw.githubusercontent.com/NoRiskClient/noriskclient-launcher/refs/heads/main/src/images/norisk_logo.png"; + backgroundSha256 = "sha256-VwWwShUrT055mcabS8QTqqb8INgRB/08U2qEEIVYHlg="; in { environment.systemPackages = [ customPkgs.noriskclient @@ -27,7 +28,10 @@ in { NoRiskClient = { name = "NoRisk Client"; exec = "noriskclient"; - icon = lib.mkForce "/home/joy/nix/modules/apps/gui/games/norisk/norisk.png"; + icon = pkgs.fetchurl { + url = backgroundUrl; + sha256 = backgroundSha256; + }; terminal = false; type = "Application"; categories = ["Game"]; diff --git a/modules/apps/gui/games/norisk/norisk.png b/modules/apps/gui/games/norisk/norisk.png deleted file mode 100644 index 1689f38..0000000 Binary files a/modules/apps/gui/games/norisk/norisk.png and /dev/null differ diff --git a/modules/hypr/land/default.nix b/modules/hypr/land/default.nix index 74ebe82..f1c061e 100644 --- a/modules/hypr/land/default.nix +++ b/modules/hypr/land/default.nix @@ -15,6 +15,10 @@ "HYPRCURSOR_THEME = Bibata-Modern-Ice" "HYPRCURSOR_SIZE = 24" "NIXOS_OZONE_WL = 1" + "QT_QPA_PLATFORM,wayland;xcb" + "QT_QPA_PLATFORMTHEME = qt5ct" + "QT_AUTO_SCREEN_SCALE_FACTOR = 1" + "QT_WAYLAND_DISABLE_WINDOWDECORATION =1" ]; xwayland = { force_zero_scaling = true; diff --git a/modules/hypr/theme/stylix/default.nix b/modules/hypr/theme/stylix/default.nix index 5d898bd..c7bdcfe 100644 --- a/modules/hypr/theme/stylix/default.nix +++ b/modules/hypr/theme/stylix/default.nix @@ -1,4 +1,7 @@ -{pkgs, ...}: { +{pkgs, ...}: let + backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png"; + backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM="; +in { stylix = { enable = true; @@ -21,7 +24,10 @@ base0F = "a89984"; # brown }; - image = ./wallpaper.png; + image = pkgs.fetchurl { + url = backgroundUrl; + sha256 = backgroundSha256; + }; cursor = { name = "Bibata-Modern-Ice"; diff --git a/modules/hypr/theme/stylix/wallpaper.png b/modules/hypr/theme/stylix/wallpaper.png deleted file mode 100644 index 21faf0c..0000000 Binary files a/modules/hypr/theme/stylix/wallpaper.png and /dev/null differ