mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 15:14:58 +08:00
Add window rules for dragon-drag-and-drop utility
This commit is contained in:
parent
e1f91688a4
commit
41ba7bc68b
1 changed files with 23 additions and 0 deletions
|
|
@ -724,6 +724,29 @@ awful.rules.rules = {
|
|||
end
|
||||
},
|
||||
|
||||
-- Dragon drag and drop utility
|
||||
{
|
||||
rule_any = {
|
||||
class = {
|
||||
"Dragon-drag-and-drop",
|
||||
"Dragon",
|
||||
},
|
||||
},
|
||||
properties = {
|
||||
floating = true,
|
||||
ontop = true,
|
||||
sticky = true,
|
||||
width = screen_width * 0.3,
|
||||
},
|
||||
callback = function (c)
|
||||
awful.placement.bottom_right(c, {
|
||||
honor_padding = true,
|
||||
honor_workarea = true,
|
||||
margins = { bottom = beautiful.useless_gap * 2, right = beautiful.useless_gap * 2}
|
||||
})
|
||||
end
|
||||
},
|
||||
|
||||
-- Magit window
|
||||
{
|
||||
rule = { instance = "Magit" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue