aboutsummaryrefslogtreecommitdiffstats
path: root/modules/gaming
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-01 03:00:12 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-08-01 03:00:12 +0530
commit225a9368b2b469d5c63e15d3d6a9cad232db23b6 (patch)
tree1dc2d48c1e8619d397e86acd00f85764b4949724 /modules/gaming
parentc975ed3ea6404375fe824f697be85474a9f18236 (diff)
downloadhome-manager-config-225a9368b2b469d5c63e15d3d6a9cad232db23b6.tar.gz
home-manager-config-225a9368b2b469d5c63e15d3d6a9cad232db23b6.zip
feat: waybar vpn module, heroic launcher desktop entry
- Added a VPN indicator module to waybar - Added a desktop entry for heroic game launcher, for running through rofi
Diffstat (limited to 'modules/gaming')
-rw-r--r--modules/gaming/heroic/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/gaming/heroic/default.nix b/modules/gaming/heroic/default.nix
index 9c07f17..591e60b 100644
--- a/modules/gaming/heroic/default.nix
+++ b/modules/gaming/heroic/default.nix
@@ -31,6 +31,16 @@
config = lib.mkIf config.gaming.heroic.enable {
home.packages = [ config.gaming.heroic.package ];
+ xdg.desktopEntries."heroic" = {
+ name = "Heroic Games Launcher";
+ exec = "${lib.getExe' config.gaming.heroic.package "heroic"} %u";
+ icon = "${pkgs.heroic}/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg";
+ comment = "An Open Source Launcher for GOG, Epic Games and Amazon Games";
+ categories = [ "Game" ];
+ mimeType = [ "x-scheme-handler/heroic" ];
+ type = "Application";
+ };
+
xdg.mimeApps.defaultApplications = {
"x-scheme-handler/heroic" = "heroic.desktop";
};