diff options
author | Florian Pritz <bluewind@xinu.at> | 2020-05-10 16:02:29 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-05-10 16:02:29 +0200 |
commit | 13c880673c8bc5455127d6de1576584a2efb8077 (patch) | |
tree | c7004d3510c32a8c8f384a5b91626e188f669f11 | |
parent | 19cd6a1c164c4fbfca04955d4c4b88e45209d6cf (diff) | |
download | dotfiles-13c880673c8bc5455127d6de1576584a2efb8077.tar.gz dotfiles-13c880673c8bc5455127d6de1576584a2efb8077.tar.xz |
i3: Add hotkey for next/prev song
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r-- | .i3/config | 2 | ||||
-rw-r--r-- | .zshrc | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -79,6 +79,8 @@ bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10 -time 0 bindsym XF86Display exec --no-startup-id connect-screen bindsym XF86AudioPlay exec --no-startup-id toggle-music +bindsym XF86AudioNext exec --no-startup-id dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next +bindsym XF86AudioPrev exec --no-startup-id dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous # kill focused window bindsym $mod+Shift+q kill @@ -878,7 +878,7 @@ fi export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/keyring/ssh" if [[ -e ~/perl5 ]]; then - eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) + eval "$(api_ver=$(perl -MConfig -e'print $Config{api_version}') && perl -I$HOME/.local/perl5.${api_ver}/lib/perl5/ -Mlocal::lib=--deactivate-all,$HOME/.local/perl5.${api_ver})" fi #if type keychain >/dev/null; then |