From 5f5e7737317161aa50c0e23177d71d8d90a8d1a9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 30 Mar 2017 10:11:51 +0200 Subject: [PATCH] default to non-floating, except dialogs and mupdf --- .config/awesome/rc.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 42544e5..c0693e8 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -599,7 +599,7 @@ awful.rules.rules = { buttons = clientbuttons, screen = awful.screen.preferred, placement = awful.placement.no_overlap+awful.placement.no_offscreen, - floating = true + floating = false }, }, @@ -609,7 +609,10 @@ awful.rules.rules = { --DISABLED-- }, { rule = { type = "dialog" }, - properties = { placement = awful.placement.centered }}, + properties = { floating = true, + placement = awful.placement.centered + } + }, { rule = { class = "URxvt" }, properties = { @@ -662,6 +665,11 @@ awful.rules.rules = { floating = false, }, }, + { rule = { class = "MuPDF", type = "mupdf" }, + properties = { + floating = true, + }, + }, } -- }}} -- 2.39.2