From 0a9f7985f832c63c1ffb6cd3d23d3b69957691f2 Mon Sep 17 00:00:00 2001
From: Hiltjo Posthuma
If you want to apply a custom callback to execute when a rule matched, you +--
If you want to apply a custom callback to execute when a rule matched,
+-- for example to pause playing music from mpd when you start dosbox, you
-- can add:
--
--
-- { rule = { class = "dosbox" },
--- callback = awful.placement.centered }
+-- callback = function(c)
+-- awful.util.spawn('mpc pause')
+-- end }
--
--
Note that all "rule" entries need to match. If any of the entry does not