X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/ac23353125e9b9812ae33243e15a0e40883547bc..9bce712f191f4cb57ea3d827241f6462cab66cfb:/.config/awesome/rc.lua?ds=sidebyside diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 5e1b06a..ee17164 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -539,10 +539,10 @@ awful.rules.rules = { raise = true, keys = clientkeys, buttons = clientbuttons, + screen = awful.screen.preferred, placement = awful.placement.no_overlap+awful.placement.no_offscreen, - -- https://github.com/awesomeWM/awesome/issues/1091#issuecomment-246933520 - screen = function (c) return awesome.startup and c.screen or awful.screen.focused() end, - } + floating = true + }, }, -- Add titlebars to normal clients and dialogs @@ -560,23 +560,23 @@ awful.rules.rules = { } }, { rule = { class = "URxvt", instance = "irc" }, properties = { - switch_to_tag = true + switchtotag = true }, callback = move_to_tag(screen.count(), screen.count() == 1 and 2 or 1) }, - { rule = { class = "Firefox" }, + { rule = { class = "Firefox", instance = "Navigator" }, properties = { floating = false, }, callback = move_to_tag(screen.count() == 1 and 1 or 2, 9) }, - { rule = { class = "Icedove" }, + { rule = { class = "Icedove", instance = "Mail" }, properties = { floating = false, }, callback = move_to_tag(screen.count() == 1 and 1 or 2, 8) }, - { rule = { class = "chromium" }, + { rule = { class = "chromium", instance = "chromium" }, properties = { floating = false, },