From 0dbcb541b355a778d9691a7bf02f73b01e60b548 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Sun, 20 Apr 2025 17:11:44 -0700 Subject: [PATCH] [eww] Remove uninstalled steam game. [nix] adds some comments. --- flake.nix | 1 + home-manager/features/eww/config/launcher.yuck | 8 -------- home-manager/features/gaming.nix | 4 ++++ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/flake.nix b/flake.nix index 80a4f4d..b518cf6 100644 --- a/flake.nix +++ b/flake.nix @@ -34,6 +34,7 @@ { self, nixpkgs, ... }@inputs: let local = import ./lib; + # TODO: Convert other configurations to use this function. mkNixosConfig = { path, diff --git a/home-manager/features/eww/config/launcher.yuck b/home-manager/features/eww/config/launcher.yuck index 352b9e8..898d0a4 100644 --- a/home-manager/features/eww/config/launcher.yuck +++ b/home-manager/features/eww/config/launcher.yuck @@ -60,14 +60,6 @@ :path "/home/drew/.local/share/icons/hicolor/128x128/apps/lutris_battlenet.png" ) ) - (button - :onclick "steam steam://rungameid/1091500" - (image - :class "launcher-icon" - :icon "steam_icon_1091500" - :icon-size "dialog" - ) - ) ;; (button ;; :onclick "steam steam://rungameid/1145350" ;; (image diff --git a/home-manager/features/gaming.nix b/home-manager/features/gaming.nix index 0fecf4d..972d331 100644 --- a/home-manager/features/gaming.nix +++ b/home-manager/features/gaming.nix @@ -1,4 +1,8 @@ { pkgs, local, ... }: +# TODO: This is an attempt to patch the desktop file by actually using the old +# one so I don't have to put in all the options like below. This will generate +# the correct file, however, xdg.dataFile."applications/wowup-cf.desktop" +# doesn't seem to actually overrwite it, even with force = true. # let # patched-desktop = # pkgs.runCommand "patched-wowup-cf-desktop"