From: martin f. krafft Date: Thu, 30 Mar 2017 08:11:51 +0000 (+0200) Subject: default to non-floating, except dialogs and mupdf X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/5f5e7737317161aa50c0e23177d71d8d90a8d1a9?ds=inline;hp=-c default to non-floating, except dialogs and mupdf --- 5f5e7737317161aa50c0e23177d71d8d90a8d1a9 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, + }, + }, } -- }}}