Fix singular screen issue

This commit is contained in:
Leon Grünewald 2021-03-05 14:00:50 +01:00
parent 829653e9d2
commit 1ba088eac3

View file

@ -636,7 +636,7 @@ awful.rules.rules = {
-- Set Firefox to always map on the first tag on screen 1. -- Set Firefox to always map on the first tag on screen 1.
{ rule = { class = "Firefox" }, { rule = { class = "Firefox" },
properties = { screen = 2, tag = awful.util.tagnames[1] } }, properties = { screen = (screen:count() > 1 and 2 or 1), tag = awful.util.tagnames[1] } },
{ rule = { class = "Gimp", role = "gimp-image-window" }, { rule = { class = "Gimp", role = "gimp-image-window" },
properties = { maximized = true } }, properties = { maximized = true } },