Permalink
Browse files

'nyxmms2' has gone away in favour of 'xmms2' cli tool

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
1 parent 99aee45 commit 804edb135474862c748aa7001fd16283797f81df @trofi committed Nov 13, 2011
Showing with 16 additions and 16 deletions.
  1. +3 −3 .bash/funs
  2. +13 −13 .xmonad/xmonad.hs
View
@@ -15,16 +15,16 @@ wm (){
}
m () {
- nyxmms2 clear
+ xmms2 clear
local was_playlist=no
for pl in *.cue *.Cue
do
if [ -f "$pl" ]; then
was_playlist=yes
- nyxmms2 addpls "$pl"
+ xmms2 addpls "$pl"
fi
done
if [ "$was_playlist" = "no" ]; then
- nyxmms2 add .
+ xmms2 add .
fi
}
View
@@ -44,20 +44,20 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
, ((modMask .|. controlMask, xK_n ), spawn "zim Notes")
-- xmms2d
- , ((mod4Mask , xK_Home ), spawn "nyxmms2 prev")
- , ((mod4Mask , xK_End ), spawn "nyxmms2 next")
- , ((mod4Mask , xK_Insert ), spawn "nyxmms2 play")
- , ((mod4Mask , xK_Delete ), spawn "nyxmms2 pause")
- , ((mod4Mask , xK_Prior ), spawn "nyxmms2 seek +30")
- , ((mod4Mask , xK_Next ), spawn "nyxmms2 seek -30")
- , ((mod4Mask , xK_Up ), spawn "nyxmms2 seek +20")
- , ((mod4Mask , xK_Down ), spawn "nyxmms2 seek -30")
- , ((mod4Mask , xK_Right ), spawn "nyxmms2 seek +10")
- , ((mod4Mask , xK_Left ), spawn "nyxmms2 seek -10")
+ , ((mod4Mask , xK_Home ), spawn "xmms2 prev")
+ , ((mod4Mask , xK_End ), spawn "xmms2 next")
+ , ((mod4Mask , xK_Insert ), spawn "xmms2 play")
+ , ((mod4Mask , xK_Delete ), spawn "xmms2 pause")
+ , ((mod4Mask , xK_Prior ), spawn "xmms2 seek +30")
+ , ((mod4Mask , xK_Next ), spawn "xmms2 seek -30")
+ , ((mod4Mask , xK_Up ), spawn "xmms2 seek +20")
+ , ((mod4Mask , xK_Down ), spawn "xmms2 seek -30")
+ , ((mod4Mask , xK_Right ), spawn "xmms2 seek +10")
+ , ((mod4Mask , xK_Left ), spawn "xmms2 seek -10")
-- xmms2d fun stuff
- , ((mod4Mask , xK_equal ), spawn "nyxmms2 server config vocoder.speed 100")
- , ((mod4Mask , xK_KP_Add ), spawn "nyxmms2 server config vocoder.speed $((`nyxmms2 server config vocoder.speed | cut -d' ' -f3` + 10))")
- , ((mod4Mask , xK_KP_Subtract ), spawn "nyxmms2 server config vocoder.speed $((`nyxmms2 server config vocoder.speed | cut -d' ' -f3` - 10))")
+ , ((mod4Mask , xK_equal ), spawn "xmms2 server config vocoder.speed 100")
+ , ((mod4Mask , xK_KP_Add ), spawn "xmms2 server config vocoder.speed $((`xmms2 server config vocoder.speed | cut -d' ' -f3` + 10))")
+ , ((mod4Mask , xK_KP_Subtract ), spawn "xmms2 server config vocoder.speed $((`xmms2 server config vocoder.speed | cut -d' ' -f3` - 10))")
-- misc
, ((mod4Mask , xK_F8 ), spawn "~/.rc.d/x11/xmonad/mousekbd")

0 comments on commit 804edb1

Please sign in to comment.