From 9da5e192b4a26df75e8a527ff98b769afc579ccf Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 20 Jun 2022 06:39:36 +0200 Subject: [PATCH 1/1] better handling for gscan2pdf --- .config/awesome/rc.lua | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) 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 -- 2.39.5