Compare commits
No commits in common. "5bdf7fc7cbb3f797985652133ef434ec08687aa2" and "59e49e6fc98a686d700ffb97def8e6e295129faf" have entirely different histories.
5bdf7fc7cb
...
59e49e6fc9
4 changed files with 4 additions and 25 deletions
|
@ -28,7 +28,6 @@ in {
|
||||||
"plugin:hyprbars:nobar, class:^clipboard$"
|
"plugin:hyprbars:nobar, class:^clipboard$"
|
||||||
"plugin:hyprbars:nobar, class:^discord$, title:^Discord Updater$"
|
"plugin:hyprbars:nobar, class:^discord$, title:^Discord Updater$"
|
||||||
"plugin:hyprbars:nobar, class:^dropdown$"
|
"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\\.Nautilus$, title:^New Folder$"
|
||||||
"plugin:hyprbars:nobar, class:^org\\.gnome\\.NautilusPreviewer$"
|
"plugin:hyprbars:nobar, class:^org\\.gnome\\.NautilusPreviewer$"
|
||||||
"plugin:hyprbars:nobar, class:^steam$"
|
"plugin:hyprbars:nobar, class:^steam$"
|
||||||
|
|
|
@ -204,7 +204,7 @@ in {
|
||||||
(class "org\\.gnome\\.Nautilus" rules)
|
(class "org\\.gnome\\.Nautilus" rules)
|
||||||
];
|
];
|
||||||
game = rules: [
|
game = rules: [
|
||||||
(class "moe\\.launcher\\..+" (rules ++ ["size 1280 730"])) # An Anime Game Launcher
|
(class "moe\\.launcher\\.the-honkers-railway-launcher" (rules ++ ["size 1280 730"])) # Honkai: Star Rail
|
||||||
(class "net.retrodeck.retrodeck" rules) # Emulators
|
(class "net.retrodeck.retrodeck" rules) # Emulators
|
||||||
(class "steam_app_.+" rules) # Proton
|
(class "steam_app_.+" rules) # Proton
|
||||||
];
|
];
|
||||||
|
|
|
@ -6,28 +6,13 @@
|
||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.custom.programs.anime-game-launcher;
|
cfg = config.custom.programs.anime-game-launcher;
|
||||||
in {
|
in {
|
||||||
options.custom.programs.anime-game-launcher = {
|
options.custom.programs.anime-game-launcher.enable = mkOption {default = false;};
|
||||||
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 {
|
config = mkIf cfg.enable {
|
||||||
# https://github.com/an-anime-team
|
# https://github.com/an-anime-team
|
||||||
# https://github.com/ezKEa/aagl-gtk-on-nix
|
# 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
|
#?? git clone https://github.com/an-anime-team/components.git
|
||||||
programs = {
|
programs.honkers-railway-launcher.enable = true;
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,5 @@
|
||||||
profile = "desktop";
|
profile = "desktop";
|
||||||
wallpaper = true;
|
wallpaper = true;
|
||||||
services.power-profiles-daemon.enable = true;
|
services.power-profiles-daemon.enable = true;
|
||||||
|
|
||||||
programs.anime-game-launcher = {
|
|
||||||
enable = true;
|
|
||||||
genshin-impact = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue