summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2016-04-01 16:39:16 +0200
committerMichal Minar <miminar@redhat.com>2016-04-01 16:39:16 +0200
commit43de0141ccd4867dc70bf0c5030aeeae942da296 (patch)
tree2f2f54251f286e34b4cf52da722e7eda900f3d58
parentf1338ad6067e18c9f591dd0e9da2a10849951023 (diff)
downloadxminad-43de0141ccd4867dc70bf0c5030aeeae942da296.tar.gz
xminad-43de0141ccd4867dc70bf0c5030aeeae942da296.tar.xz
xminad-43de0141ccd4867dc70bf0c5030aeeae942da296.zip
Use google chrome to show calendars in calendar topic space
Signed-off-by: Michal Minar <miminar@redhat.com>
-rw-r--r--src/XMonad/Local/TopicSpace.hs12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/XMonad/Local/TopicSpace.hs b/src/XMonad/Local/TopicSpace.hs
index d94ecb2..cfc2c5c 100644
--- a/src/XMonad/Local/TopicSpace.hs
+++ b/src/XMonad/Local/TopicSpace.hs
@@ -103,10 +103,16 @@ topicConfig = TS.def
, ("ciV", spawn "launch-ciV.sh -m -b")
, ("scrum", spawn "firefox --new-window https://bluejeans.com/3046463974/")
, ("BG", spawn "steam steam://rungameid/228280" >>
- spawn "firefox http://slovnik.seznam.cz/de-cz/")
+ spawn "firefox http://slovnik.seznam.cz/de-cz/")
, ("witcher", spawn "wine C:/Program\\ Files\\ (x86)/Steam/Steam.exe steam://rungameid/20900" >>
- spawn "firefox --new-window http://slovnik.seznam.cz/de-cz/")
- , ("calendar", spawn "california")
+ spawn "firefox --new-window http://slovnik.seznam.cz/de-cz/")
+ , ("calendar",
+ spawn (
+ "google-chrome-stable --profile-directory=RedHat" ++
+ " --app-id=ejjicmeblgpmajnghnpcppodonldlgfn" ++
+ " --auth-server-whitelist=*.redhat.com") >>
+ spawn ("google-chrome-stable --profile-directory=Default" ++
+ " --app-id=ejjicmeblgpmajnghnpcppodonldlgfn"))
] ++ map (\w -> (w, spawnShell Nothing >> spawnShell Nothing))
[ "ae", "aet", "aes", "aea" ]
, TS.defaultTopicAction = const $ return ()