From dd5b8719b2d4285929c4f8eae397478c50c5c4ea Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 28 Dec 2016 20:35:50 -0800 Subject: [PATCH] [XMonad] Make spotify a scratchpad --- dotfiles/xmonad/xmonad.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 765208c9..cb2d0eff 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -612,7 +612,6 @@ addKeys conf@XConfig {modMask = modm} = bindBringAndRaiseMany [ (modalt, xK_e, spawn emacsCommand, emacsSelector) , (modalt, xK_c, spawn chromeCommand, chromeSelector) - , (modalt, xK_s, spawn spotifyCommand, spotifySelector) , (modalt, xK_t, spawn transmissionCommand, transmissionSelector) ] ++ @@ -620,8 +619,11 @@ addKeys conf@XConfig {modMask = modm} = [ ((modalt, xK_m), doScratchpad "htop") , ((modalt, xK_v), doScratchpad "volume") , ((modalt, xK_h), doScratchpad "hangouts") + , ((modalt, xK_s), doScratchpad "spotify") , ((modalt .|. controlMask, xK_h), myRaiseNextMaybe (spawn hangoutsCommand) hangoutsSelector) + , ((modalt .|. controlMask, xK_s), + myRaiseNextMaybe (spawn spotifyCommand) spotifySelector) -- Specific program spawning