https://github.com/mathialo/cmd-media
Control media keys from command line
https://github.com/mathialo/cmd-media
bash media-control shell-script
Last synced: about 2 months ago
JSON representation
Control media keys from command line
- Host: GitHub
- URL: https://github.com/mathialo/cmd-media
- Owner: mathialo
- License: mit
- Created: 2017-11-12T19:01:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-12T19:05:23.000Z (over 8 years ago)
- Last Synced: 2025-03-09T05:53:55.559Z (over 1 year ago)
- Topics: bash, media-control, shell-script
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmd-media
Control media keys from command line. Simply a wrapper around xdotool, which must be installed for the script to work.
### Installation
Cmd-media is written in bash. To install, copy media.sh to a suitable directory, and make sure it's executable:
``` bash
$ chmod +x media.sh
```
now create a symlink to it from one of the bin-directories so that it's available from the command line:
``` bash
$ ln -s /link/to/media.sh /usr/local/bin/media
```
Now it should be installed. Try writing:
``` bash
$ media play
```
for confimation.