From 225a9368b2b469d5c63e15d3d6a9cad232db23b6 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Sat, 1 Aug 2026 03:00:12 +0530 Subject: 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 --- modules/gaming/heroic/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/gaming/heroic/default.nix') 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"; }; -- cgit v1.2.3