summaryrefslogtreecommitdiffstats
path: root/.scripts/musstuff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-05-07 09:07:47 -0700
committerLuke Smith <luke@lukesmith.xyz>2018-05-07 09:07:47 -0700
commit87761558d932405f7cde5b4460ddfb13cc2bd06a (patch)
treec67ac067c397b76c35d49c084b24902243dfc3d5 /.scripts/musstuff
parenta3fe42d0a5a51989f8dd0b82a61c2154b0ca64e1 (diff)
downloadeibhear-87761558d932405f7cde5b4460ddfb13cc2bd06a.tar.gz
eibhear-87761558d932405f7cde5b4460ddfb13cc2bd06a.tar.zst
eibhear-87761558d932405f7cde5b4460ddfb13cc2bd06a.zip
i3blocks more minimal; audio handler
Diffstat (limited to '.scripts/musstuff')
-rw-r--r--.scripts/musstuff49
1 files changed, 49 insertions, 0 deletions
diff --git a/.scripts/musstuff b/.scripts/musstuff
new file mode 100644
index 0000000..39428ab
--- /dev/null
+++ b/.scripts/musstuff
@@ -0,0 +1,49 @@
+These are some old lines from the i3 config.
+
+I now use the lmc script to change volume and music tracks, which makes i3blocks integration better.
+
+I deleted the alternative lines for audio commands from the i3 config.
+Still, since they're a good reference for people who use ALSA, or people who use music players besides mpd, I've kept them in this file.
+
+You can replace the commands in the lmc script to get the setup you want. I might have the script autodecide the command later on.
+
+#FOR ALSA/AMIXER
+#set $inc --no-startup-id amixer sset Master 2%+
+#set $biginc --no-startup-id amixer sset Master 5%+
+#set $dec --no-startup-id amixer sset Master 2%-
+#set $bigdec --no-startup-id amixer sset Master 5%-
+#set $mute --no-startup-id amixer sset Master toggle
+#set $truemute --no-startup-id amixer sset Master mute
+
+##For spotify
+#set $music spotify
+#set $pause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
+#set $trupause dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
+#set $play dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Play
+#set $next dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
+#set $prev dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
+#set $lilfor dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Seek
+#set $bigfor dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Seek(
+
+# For moc:
+#set $music --no-startup-id st -e mocp
+#set $pause --no-startup-id mocp -G
+#set $truepause --no-startup-id mocp -P
+#set $next --no-startup-id mocp -f
+#set $prev --no-startup-id mocp -r
+#set $lilfor --no-startup-id mocp -k 10
+#set $bigfor --no-startup-id mocp -k 120
+#set $lilbak --no-startup-id mocp -k -10
+#set $bigbak --no-startup-id mocp -k -120
+#set $beg --no-startup-id mocp -j 0%
+
+# For cmus:
+#set $music --no-startup-id st -e cmus
+#set $pause --no-startup-id cmus-remote -u
+#set $next --no-startup-id cmus-remote -n
+#set $prev --no-startup-id cmus-remote -r
+#set $lilfor --no-startup-id cmus-remote -k +10
+#set $bigfor --no-startup-id cmus-remote -k +120
+#set $lilbak --no-startup-id cmus-remote -k -10
+#set $bigbak --no-startup-id cmus-remote -k -120
+#set $beg --no-startup-id cmus-remote -k 00:00:00