Add desktop file associations for Steam and Nautilus
This commit is contained in:
parent
ac2c25b1e7
commit
0288b2d7d5
1 changed files with 7 additions and 0 deletions
|
@ -5,11 +5,18 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
# FIXME(xdg): That should use config options and just reference whatever is configured as the default
|
# FIXME(xdg): That should use config options and just reference whatever is configured as the default
|
||||||
|
files = [ "nautilus.desktop" ];
|
||||||
browser = [ "zen.desktop" ];
|
browser = [ "zen.desktop" ];
|
||||||
editor = [ "code.desktop" ];
|
editor = [ "code.desktop" ];
|
||||||
|
steam = [ "steam-session.desktop" ];
|
||||||
# Extensive list of associations here:
|
# Extensive list of associations here:
|
||||||
# https://github.com/iggut/GamiNiX/blob/8070528de419703e13b4d234ef39f05966a7fafb/system/desktop/home-main.nix#L77
|
# https://github.com/iggut/GamiNiX/blob/8070528de419703e13b4d234ef39f05966a7fafb/system/desktop/home-main.nix#L77
|
||||||
associations = {
|
associations = {
|
||||||
|
"x-scheme-handler/steam" = steam;
|
||||||
|
"x-scheme-handler/steamlink" = steam;
|
||||||
|
|
||||||
|
"inode/directory" = files;
|
||||||
|
|
||||||
"text/*" = editor;
|
"text/*" = editor;
|
||||||
"text/plain" = editor;
|
"text/plain" = editor;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue