mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 23:04:39 -05:00
189 current 2024-07-05 11:29:17 24.11.20240703.9f4128e 6.9.7-zen1 *
This commit is contained in:
parent
2551359777
commit
e9fcaf543f
2 changed files with 15 additions and 1 deletions
|
@ -14,7 +14,7 @@ let
|
||||||
"setopt globstarshort"
|
"setopt globstarshort"
|
||||||
];
|
];
|
||||||
_z1 = lib.concatMapStrings (x: x + "\n") zshInitArgs;
|
_z1 = lib.concatMapStrings (x: x + "\n") zshInitArgs;
|
||||||
|
DES = import ../../common/desktopEntries.nix {};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowInsecurePredicate = (pkg: true);
|
nixpkgs.config.allowInsecurePredicate = (pkg: true);
|
||||||
|
@ -89,6 +89,7 @@ nixpkgs.config.allowInsecurePredicate = (pkg: true);
|
||||||
home.shellAliases = shell.dev.aliases;
|
home.shellAliases = shell.dev.aliases;
|
||||||
home.sessionPath = shell.dev.path;
|
home.sessionPath = shell.dev.path;
|
||||||
home.sessionVariables = shell.dev.env;
|
home.sessionVariables = shell.dev.env;
|
||||||
|
xdg.desktopEntries = DES;
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
13
common/desktopEntries.nix
Normal file
13
common/desktopEntries.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{}:
|
||||||
|
{
|
||||||
|
spotifyOpen = {
|
||||||
|
type = "Application";
|
||||||
|
name = "Open in Spotify";
|
||||||
|
genericName = "Music Player";
|
||||||
|
icon = "spotify-client";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Audio" "Music" "Player" "AudioVideo" ];
|
||||||
|
exec = "qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.OpenUri %U";
|
||||||
|
mimeType = [ "x-scheme-handler/spotify" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue