local aclient = require 'awful.client' local aplacement = require 'awful.placement' local ascreen = require 'awful.screen' local global_rule = { id = 'global', rule = {}, properties = { focus = aclient.focus.filter, raise = true, screen = ascreen.preferred, placement = aplacement.no_overlap + aplacement.no_offscreen } } return global_rule