From 0288b2d7d564b3ce201b213b00aaeabefbbe0954 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Mon, 31 Mar 2025 12:24:33 -0400 Subject: [PATCH] Add desktop file associations for Steam and Nautilus --- home/toph/common/optional/xdg.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/toph/common/optional/xdg.nix b/home/toph/common/optional/xdg.nix index e62bf52..07c69e6 100644 --- a/home/toph/common/optional/xdg.nix +++ b/home/toph/common/optional/xdg.nix @@ -5,11 +5,18 @@ }: let # FIXME(xdg): That should use config options and just reference whatever is configured as the default + files = [ "nautilus.desktop" ]; browser = [ "zen.desktop" ]; editor = [ "code.desktop" ]; + steam = [ "steam-session.desktop" ]; # Extensive list of associations here: # https://github.com/iggut/GamiNiX/blob/8070528de419703e13b4d234ef39f05966a7fafb/system/desktop/home-main.nix#L77 associations = { + "x-scheme-handler/steam" = steam; + "x-scheme-handler/steamlink" = steam; + + "inode/directory" = files; + "text/*" = editor; "text/plain" = editor;