Fix not showing up on desktop
This commit is contained in:
		
							parent
							
								
									fff30c3314
								
							
						
					
					
						commit
						575bcf6388
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,14 @@
 | 
			
		|||
    # TODO Is it possible to inherit all other values?
 | 
			
		||||
    xdg.desktopEntries.spotify = {
 | 
			
		||||
      name = "Spotify";
 | 
			
		||||
      exec = "LD_PRELOAD=${pkgs.spotify-adblock}/lib/libspotifyadblock.so spotify %U";
 | 
			
		||||
      genericName = "Music Player";
 | 
			
		||||
      icon = "spotify-client";
 | 
			
		||||
      exec = "env LD_PRELOAD=${pkgs.spotify-adblock}/lib/libspotifyadblock.so spotify %U";
 | 
			
		||||
      mimeType = [ "x-scheme-handler/spotify" ];
 | 
			
		||||
      categories = [ "Audio" "Music" "Player" "AudioVideo" ];
 | 
			
		||||
      settings = {
 | 
			
		||||
        StartupWMClass = "spotify";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue