1
1
Fork 0

Compare commits

...

3 commits

Author SHA1 Message Date
5bdf7fc7cb
desktop: enable anime-game-launcher
Signed-off-by: Myned <dev@bjork.tech>
2024-11-30 16:02:21 -06:00
6070dafafd
hyprland: update anime-game-launcher rules
Signed-off-by: Myned <dev@bjork.tech>
2024-11-30 16:02:08 -06:00
bbceefdb0e
anime-game-launcher: simplify options
Signed-off-by: Myned <dev@bjork.tech>
2024-11-30 16:01:38 -06:00
4 changed files with 25 additions and 4 deletions

View file

@ -28,6 +28,7 @@ in {
"plugin:hyprbars:nobar, class:^clipboard$"
"plugin:hyprbars:nobar, class:^discord$, title:^Discord Updater$"
"plugin:hyprbars:nobar, class:^dropdown$"
"plugin:hyprbars:nobar, class:^moe\\.launcher\\..+$"
"plugin:hyprbars:nobar, class:^org\\.gnome\\.Nautilus$, title:^New Folder$"
"plugin:hyprbars:nobar, class:^org\\.gnome\\.NautilusPreviewer$"
"plugin:hyprbars:nobar, class:^steam$"

View file

@ -204,7 +204,7 @@ in {
(class "org\\.gnome\\.Nautilus" rules)
];
game = rules: [
(class "moe\\.launcher\\.the-honkers-railway-launcher" (rules ++ ["size 1280 730"])) # Honkai: Star Rail
(class "moe\\.launcher\\..+" (rules ++ ["size 1280 730"])) # An Anime Game Launcher
(class "net.retrodeck.retrodeck" rules) # Emulators
(class "steam_app_.+" rules) # Proton
];

View file

@ -6,13 +6,28 @@
with lib; let
cfg = config.custom.programs.anime-game-launcher;
in {
options.custom.programs.anime-game-launcher.enable = mkOption {default = false;};
options.custom.programs.anime-game-launcher = {
enable = mkOption {default = false;};
genshin-impact = mkOption {default = false;};
honkai-impact = mkOption {default = false;};
honkai-star-rail = mkOption {default = false;};
universal = mkOption {default = false;};
wuthering-waves = mkOption {default = false;};
zenless-zone-zero = mkOption {default = false;};
};
config = mkIf cfg.enable {
# https://github.com/an-anime-team
# https://github.com/ezKEa/aagl-gtk-on-nix
#?? If error on first setup, clone components
#!! If error on first setup, clone components
#?? git clone https://github.com/an-anime-team/components.git
programs.honkers-railway-launcher.enable = true;
programs = {
anime-game-launcher.enable = cfg.genshin-impact;
anime-games-launcher.enable = cfg.universal;
honkers-railway-launcher.enable = cfg.honkai-star-rail;
honkers-launcher.enable = cfg.honkai-impact;
sleepy-launcher.enable = cfg.zenless-zone-zero;
wavey-launcher.enable = cfg.wuthering-waves;
};
};
}

View file

@ -4,5 +4,10 @@
profile = "desktop";
wallpaper = true;
services.power-profiles-daemon.enable = true;
programs.anime-game-launcher = {
enable = true;
genshin-impact = true;
};
};
}