[XMonad] Make spotify a scratchpad

This commit is contained in:
Ivan Malison 2016-12-28 20:35:50 -08:00
parent 6308fdd276
commit dd5b8719b2
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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