forked frommgafner/clementine-remote-bash
- Notifications
You must be signed in to change notification settings - Fork0
Bash script for remote control of clementine music player
License
NotificationsYou must be signed in to change notification settings
Yohannfra/clementine-remote-bash
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Bash script for remote control of clementine music player
clementine-remote enables you to remote control Clementine from a bash terminal on the same computer clementine is running on. This is useful for automation tasks.
- qdbus
sudo apt-get install qdbus
usage: clementine-remote-bash.sh -g <info-to-get>OPTIONS: -c command commands can be: play pause next prev -g get info -h list all commandsexamples: clementine-remote-bash.sh -c play clementine-remote-bash.sh -g title clementine-remote-bash.sh -g status
I use this script along with i3wm to be able to control clementine from shortcuts.
In my i3/config:
bindsym $mod+Home exec --no-startup-id clementine-remote -c prevbindsym $mod+End exec --no-startup-id clementine-remote -c playpausebindsym $mod+Insert exec --no-startup-id clementine-remote -c next
I also use it to display the name of the song currently playing in my i3status bar.https://github.com/Yohannfra/dotfiles/blob/master/i3/my_new_status
clementine-remote-bash is free software, available under theGNU General Public License, Version 3.
Based on thebash script ofmgafner