diff options
author | Joe <bousset.rudy@gmail.com> | 2022-05-12 12:05:45 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-05-12 12:05:45 +0200 |
commit | 5b3bf5a4fcaf460800a41b90609b5363b254a7a3 (patch) | |
tree | fdd5e5e32cb19c7213365b70f9c90ae57bbb8665 /.local/bin/dmpc | |
parent | Fix (diff) | |
download | dotfiles-bsd-5b3bf5a4fcaf460800a41b90609b5363b254a7a3.tar.gz dotfiles-bsd-5b3bf5a4fcaf460800a41b90609b5363b254a7a3.tar.bz2 dotfiles-bsd-5b3bf5a4fcaf460800a41b90609b5363b254a7a3.tar.xz dotfiles-bsd-5b3bf5a4fcaf460800a41b90609b5363b254a7a3.tar.zst dotfiles-bsd-5b3bf5a4fcaf460800a41b90609b5363b254a7a3.zip |
Updates, new script!
Diffstat (limited to '.local/bin/dmpc')
-rwxr-xr-x | .local/bin/dmpc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/dmpc b/.local/bin/dmpc index 782d76e..b22e678 100755 --- a/.local/bin/dmpc +++ b/.local/bin/dmpc @@ -10,7 +10,7 @@ sub main my $prompt; my $queued; - $current = `mpc -h localhost current`; + $current = `mpc current`; if (not $current) { $current = 'Current: Stopped'; } @@ -28,7 +28,7 @@ sub main chomp $queued; $prompt = "toggle\nnext\nprev\nplay\nstop\nclear\nrepeat\nrandom\n\n$current\n$queued\n"; $action = `printf "$prompt" | dmenu -i -l 11 -m 0`; - system("mpc -h localhost " . $action); + system("mpc " . $action); return; } |