[gaming] Updates Raider.io launcher, still doesn't run properly.
This commit is contained in:
@@ -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$"
|
||||
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user