Some rules (also fix s/float/floating/g)

This commit is contained in:
Alexander Gehrke 2023-01-13 11:40:21 +01:00
parent f2a9e5b1a7
commit 6621842607
2 changed files with 5 additions and 3 deletions

View file

@ -77,7 +77,7 @@ awful.rules.rules = {
except = { name = "Media viewer" }, except = { name = "Media viewer" },
properties = { screen = screen_chat, tag = "3" }}, properties = { screen = screen_chat, tag = "3" }},
{ rule = { class = "Telegram", name = "Media viewer" }, { rule = { class = "Telegram", name = "Media viewer" },
properties = { size_hints_honor = true, float = true, fullscreen = true }}, properties = { size_hints_honor = true, floating = true, fullscreen = true }},
{ rule_any = { role ={ "conversation" }, instance = { "Weechat" }}, { rule_any = { role ={ "conversation" }, instance = { "Weechat" }},
callback = awful.client.setslave }, callback = awful.client.setslave },
{ rule = { class = "Irssi"}, { rule = { class = "Irssi"},
@ -88,7 +88,9 @@ awful.rules.rules = {
{ rule_any = { class = {"Gmpc", "Spotify"}}, { rule_any = { class = {"Gmpc", "Spotify"}},
properties = { tag = "6" }}, properties = { tag = "6" }},
{ rule = { class = "Pdfpc" }, { rule = { class = "Pdfpc" },
properties = { size_hints_honor = true, float = true, fullscreen = true }}, properties = { size_hints_honor = true, floating = true, fullscreen = true }},
{ rule = { class = "zoom", instance = "zoom", name = "zoom" },
properties = { size_hints_honor = true, floating = true, border_width = 0 }},
{ rule_any = { class = {"URxvt", "Alacritty", "GVim", "kitty" }}, { rule_any = { class = {"URxvt", "Alacritty", "GVim", "kitty" }},
properties = { opacity = 0.9 }}, properties = { opacity = 0.9 }},
{ rule = { name = "Awesomelog" }, { rule = { name = "Awesomelog" },

View file

@ -145,7 +145,7 @@ awful.key({ }, "XF86Calculater", awful.client.movetoscreen
awful.key({ modkey }, "i", function(c) awful.key({ modkey }, "i", function(c)
require("naughty").notify({ text = require("naughty").notify({ text =
string.format( string.format(
"name: %s\nclass: %s\ninstance: %s\ntype: %s\npid: %d", "name: '%s'\nclass: '%s'\ninstance: '%s'\ntype: '%s'\npid: %d",
c["name"], c["class"], c["instance"], c["type"], c["pid"]) c["name"], c["class"], c["instance"], c["type"], c["pid"])
}) })
end) end)