From cd4367e2527a5de25c13d9260683682976329f35 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Sun, 3 Aug 2025 10:33:15 -0700 Subject: [PATCH] [gaming] Updates Raider.io launcher, still doesn't run properly. --- home-manager/features/gaming.nix | 5 +++-- system/hosts/altair/drew.nix | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/home-manager/features/gaming.nix b/home-manager/features/gaming.nix index 87a68e0..596bd3f 100644 --- a/home-manager/features/gaming.nix +++ b/home-manager/features/gaming.nix @@ -27,7 +27,7 @@ let raiderioClient = pkgs.fetchurl { name = "raiderio-client"; url = "https://raider.io/client/download/linux"; - sha256 = "1iny8zhp12x40mnxxr7p6kbyyvxf16373d2qa8idxs3hw5fz7gnx"; + sha256 = "0wcw53bgr9dr02x1ci2jlnc5irpiqxqxgs2hpbrsnj67q50nvlm9"; }; raiderioIcon = pkgs.fetchurl { name = "raiderio-icon"; @@ -81,7 +81,7 @@ in categories = [ "Game" ]; }; - xdg.desktopEntries.raiderio = local.electronDesktopEntry { + xdg.desktopEntries.raiderio = { name = "Raider.io"; exec = "${pkgs.appimage-run}/bin/appimage-run ${raiderioClient}"; terminal = false; @@ -100,6 +100,7 @@ in # Make sure WoW spawns on the right monitor and that Battlenet floats so it renders correctly "monitor 1,title:^World of Warcraft$" + "fullscreen,title:^World of Warcraft$" "monitor 1,title:^Battle.net$" "float,title:^Battle.net$" diff --git a/system/hosts/altair/drew.nix b/system/hosts/altair/drew.nix index b384515..c84f8de 100644 --- a/system/hosts/altair/drew.nix +++ b/system/hosts/altair/drew.nix @@ -39,13 +39,15 @@ in userEmail = "drew.haven@gmail.com"; }; - # Set up eww here because it's based on the monitor configuration wayland.windowManager.hyprland.settings = { exec-once = [ + # Set up eww here because it's based on the monitor configuration "sleep 2 && eww open-many primary-statusbar secondary-statusbar launcher" + # Set DP-2 as the primary monitor, otherwise it defaults to DP-1 because it's first in the list. + "xrandr --output DP-2 --primary" ]; windowrulev2 = [ - # Rofi doesn't center properly when I have the two asymetric monitors + # Rofi doesn't center properly when I have the two asymetric monitors, so we need hyprland to manage it. "center, class:Rofi" ]; };