From a6b7c069a2fdf118e6b87a4705ddd838d92bc81e Mon Sep 17 00:00:00 2001 From: elenapan Date: Sun, 22 Mar 2020 09:47:11 +0200 Subject: [PATCH] Add some more window rules --- config/awesome/rc.lua | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 840a303..093632c 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -422,6 +422,21 @@ awful.rules.rules = { properties = { fullscreen = true } }, + -- Unfocusable clients (unless clicked with the mouse) + -- If you want to prevent focusing even when clicking them, you need to + -- modify the left click client mouse bind in keys.lua + { + rule_any = { + class = { + "markdown_input" + }, + instance = { + "markdown_input" + }, + }, + properties = { focusable = false } + }, + -- Centered clients { rule_any = { @@ -450,7 +465,9 @@ awful.rules.rules = { "riotclientservices.exe", "leagueclientux.exe", "riotclientux.exe", - "leagueclient.exe" + "leagueclient.exe", + "editor", + "markdown_input" }, class = { "qutebrowser", @@ -462,6 +479,8 @@ awful.rules.rules = { "Steam", "Lutris", "Chromium", + "editor", + "markdown_input" -- "Thunderbird", }, },