[gaming] Updates Raider.io launcher, still doesn't run properly.

This commit is contained in:
2025-08-03 10:33:15 -07:00
parent cf4d54ebfd
commit cd4367e252
2 changed files with 7 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ let
raiderioClient = pkgs.fetchurl { raiderioClient = pkgs.fetchurl {
name = "raiderio-client"; name = "raiderio-client";
url = "https://raider.io/client/download/linux"; url = "https://raider.io/client/download/linux";
sha256 = "1iny8zhp12x40mnxxr7p6kbyyvxf16373d2qa8idxs3hw5fz7gnx"; sha256 = "0wcw53bgr9dr02x1ci2jlnc5irpiqxqxgs2hpbrsnj67q50nvlm9";
}; };
raiderioIcon = pkgs.fetchurl { raiderioIcon = pkgs.fetchurl {
name = "raiderio-icon"; name = "raiderio-icon";
@@ -81,7 +81,7 @@ in
categories = [ "Game" ]; categories = [ "Game" ];
}; };
xdg.desktopEntries.raiderio = local.electronDesktopEntry { xdg.desktopEntries.raiderio = {
name = "Raider.io"; name = "Raider.io";
exec = "${pkgs.appimage-run}/bin/appimage-run ${raiderioClient}"; exec = "${pkgs.appimage-run}/bin/appimage-run ${raiderioClient}";
terminal = false; terminal = false;
@@ -100,6 +100,7 @@ in
# Make sure WoW spawns on the right monitor and that Battlenet floats so it renders correctly # Make sure WoW spawns on the right monitor and that Battlenet floats so it renders correctly
"monitor 1,title:^World of Warcraft$" "monitor 1,title:^World of Warcraft$"
"fullscreen,title:^World of Warcraft$"
"monitor 1,title:^Battle.net$" "monitor 1,title:^Battle.net$"
"float,title:^Battle.net$" "float,title:^Battle.net$"

View File

@@ -39,13 +39,15 @@ in
userEmail = "drew.haven@gmail.com"; userEmail = "drew.haven@gmail.com";
}; };
# Set up eww here because it's based on the monitor configuration
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
exec-once = [ exec-once = [
# Set up eww here because it's based on the monitor configuration
"sleep 2 && eww open-many primary-statusbar secondary-statusbar launcher" "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 = [ 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" "center, class:Rofi"
]; ];
}; };