add osu launch script
This commit is contained in:
parent
adfd624f6f
commit
0782725ff8
3 changed files with 24 additions and 1 deletions
|
|
@ -72,4 +72,13 @@
|
||||||
services = {
|
services = {
|
||||||
clipmenu.enable = true;
|
clipmenu.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.file.".local/bin/ipc-bridge.exe".source = builtins.fetchurl {
|
||||||
|
url = "https://github.com/0e4ef622/wine-discord-ipc-bridge/releases/download/v0.0.1/winediscordipcbridge.exe";
|
||||||
|
sha256 = "1swn9spxpq6blm74kjmfz4ipq6a8qjzccvb2msb25pf5b1z7jnns";
|
||||||
|
};
|
||||||
|
home.file.".local/bin/osu" = {
|
||||||
|
executable = true;
|
||||||
|
source = ./scripts/osu;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
users/rin/scripts/osu
Normal file
10
users/rin/scripts/osu
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd ~/Games/osu
|
||||||
|
|
||||||
|
export DRI_PRIME=1
|
||||||
|
export vblank_mode=0
|
||||||
|
export STAGING_AUDIO_DURATION=200000
|
||||||
|
|
||||||
|
wine ~/.local/bin/ipc-bridge.exe &
|
||||||
|
wine osu\!.exe
|
||||||
|
|
@ -120,7 +120,11 @@ in rec {
|
||||||
WINEARCH = "win64";
|
WINEARCH = "win64";
|
||||||
|
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
PATH = "${config.xdg.dataHome}/npm/bin:$PATH";
|
PATH = builtins.concatStringsSep ":" [
|
||||||
|
"${config.home.homeDirectory}/.local/bin"
|
||||||
|
"${config.xdg.dataHome}/npm/bin"
|
||||||
|
"$PATH"
|
||||||
|
];
|
||||||
DIRENV_LOG_FORMAT = "";
|
DIRENV_LOG_FORMAT = "";
|
||||||
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue