mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +02:00
started working on mpd support
This commit is contained in:
parent
a68d9b30fc
commit
5ff67cdcff
2 changed files with 16 additions and 0 deletions
6
scripts/search-music-and-launch.nix
Normal file
6
scripts/search-music-and-launch.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs }:
|
||||
pkgs.writeShellScriptBin "search-music-and-launch" ''
|
||||
mpc clear
|
||||
mpc add $(mpc listall | ${pkgs.fuzzel}/bin/fuzzel --dmenu)
|
||||
mpc play
|
||||
''
|
Loading…
Add table
Add a link
Reference in a new issue