forked from colonelpanic/dotfiles
[XMonad] Tweak whitespace of selectors
This commit is contained in:
parent
392a5053fb
commit
3b473eb0d2
@ -61,15 +61,13 @@ main = xmonad $ def
|
|||||||
-- Selectors
|
-- Selectors
|
||||||
|
|
||||||
isHangoutsTitle = isPrefixOf "Google Hangouts"
|
isHangoutsTitle = isPrefixOf "Google Hangouts"
|
||||||
|
|
||||||
chromeSelectorBase = className =? "Google-chrome"
|
chromeSelectorBase = className =? "Google-chrome"
|
||||||
chromeSelector = chromeSelectorBase <&&>
|
|
||||||
fmap (not . isHangoutsTitle) title
|
chromeSelector = chromeSelectorBase <&&> fmap (not . isHangoutsTitle) title
|
||||||
spotifySelector = className =? "Spotify"
|
spotifySelector = className =? "Spotify"
|
||||||
emacsSelector = className =? "Emacs"
|
emacsSelector = className =? "Emacs"
|
||||||
transmissionSelector = fmap (isPrefixOf "Transmission") title
|
transmissionSelector = fmap (isPrefixOf "Transmission") title
|
||||||
hangoutsSelector = chromeSelectorBase <&&>
|
hangoutsSelector = chromeSelectorBase <&&> fmap isHangoutsTitle title
|
||||||
fmap isHangoutsTitle title
|
|
||||||
|
|
||||||
virtualClasses = [ (hangoutsSelector, "Hangouts")
|
virtualClasses = [ (hangoutsSelector, "Hangouts")
|
||||||
, (chromeSelector, "Chrome")
|
, (chromeSelector, "Chrome")
|
||||||
|
Loading…
Reference in New Issue
Block a user