Compare commits
3 commits
59e49e6fc9
...
5bdf7fc7cb
Author | SHA1 | Date | |
---|---|---|---|
5bdf7fc7cb | |||
6070dafafd | |||
bbceefdb0e |
4 changed files with 25 additions and 4 deletions
|
@ -28,6 +28,7 @@ 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\\.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 "net.retrodeck.retrodeck" rules) # Emulators
|
||||||
(class "steam_app_.+" rules) # Proton
|
(class "steam_app_.+" rules) # Proton
|
||||||
];
|
];
|
||||||
|
|
|
@ -6,13 +6,28 @@
|
||||||
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.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 {
|
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.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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,5 +4,10 @@
|
||||||
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