local utils = require("utils") -- {{{ Rules if utils.host == "shada" then mediatag = tags[2][3] end if utils.host == "chronos" then mediatag = tags[1][4] end if utils.host == "shada" then wwwtag = tags[2][1] end if utils.host == "chronos" then wwwtag = tags[1][2] end if utils.host == "shada" then imtag = tags[2][2] end if utils.host == "chronos" then imtag = tags[1][3] end awful.rules.rules = { -- All clients will match this rule. { rule = { }, properties = { border_width = beautiful.border_width, border_color = beautiful.border_normal, focus = awful.client.focus.filter, keys = clientkeys, buttons = clientbuttons } }, { rule = { class = "MPlayer" }, properties = { floating = true } }, { rule = { class = "pinentry" }, properties = { floating = true } }, { rule = { class = "gimp" }, properties = { floating = true } }, { rule = { class = "Kmix" }, properties = { floating = true, skip_taskbar = true, ontop = true, x = 1920 - 310, y = mywibox[mouse.screen].height, height = 100, width = 100 } }, { rule = { class = "Clementine" }, properties = { tag = mediatag, switchtotag = true } }, { rule = { class = "Dwb" }, properties = { tag = wwwtag } }, { rule = { class = "Qupzilla" }, properties = { tag = wwwtag } }, { rule = { class = "Qupzilla", name = "Detached ViewTube - QupZilla" }, properties = { floating = true } }, { rule = { class = "Quassel" }, properties = { tag = imtag, function (c) awful.client.setmaster(c) end } }, { rule = { class = "Kopete" }, properties = { tag = imtag, function (c) awful.client.setslave(c) end } }, } -- }}}