From: martin f. krafft Date: Mon, 20 Jun 2022 04:39:36 +0000 (+0200) Subject: better handling for gscan2pdf X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/9da5e192b4a26df75e8a527ff98b769afc579ccf?ds=inline better handling for gscan2pdf --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index c8dc310..5b4ca3e 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -1089,7 +1089,6 @@ awful.rules.rules = { }, }, { rule_any = { class = { - "Gscan2pdf", "Gimp", "Inkscape", "Pitivi", @@ -1108,7 +1107,24 @@ awful.rules.rules = { --switchtotag = true, focus = true, }, - }, + }, + { rule_any = { class = { + "Gscan2pdf", + }, + }, + except_any = { type = { "dialog" } }, + properties = { new_tag = { + layout = layouts.default, + volatile = true, + }, + floating = true, + maximized = false, + focus = true, + placement = awful.placement.centered, + switchtotag = true, + focus = true, + }, + }, --XX-- { rule = { class = "Gscan2pdf" }, --XX-- properties = { --XX-- switchtotag = true