From: Samir Benmendil Date: Thu, 13 Jun 2013 00:39:20 +0000 (+0200) Subject: set clementine tags for chronos too X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/58133652ad31ba5a092a856ad5d6ca64477ee170?ds=inline set clementine tags for chronos too --- diff --git a/awesome/rules.lua b/awesome/rules.lua index 00c29a7..9752c96 100644 --- a/awesome/rules.lua +++ b/awesome/rules.lua @@ -1,4 +1,8 @@ +local utils = require("utils") + -- {{{ Rules +if utils.host == "shada" then clemtag = tags[2][3] end +if utils.host == "chronos" then clemtag = tags[1][4] end awful.rules.rules = { -- All clients will match this rule. { rule = { }, @@ -20,7 +24,7 @@ awful.rules.rules = { x = 1920 - 310, y = mywibox[mouse.screen].height, height = 100, width = 100 } }, { rule = { class = "Clementine" }, - properties = { tag = tags[2][3], + properties = { tag = clemtag, switchtotag = true } }, -- Set Firefox to always map on tags number 2 of screen 1. -- { rule = { class = "Firefox" },