From 83f3806e5aa3cae04a5015fdbfcf4b67c10ac8a7 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 26 Jan 2021 00:04:03 +0000 Subject: [PATCH] awesome: no border for mpv Maybe I want no borders for any floating window, or even only add borders for terminals. --- awesome/rules.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awesome/rules.lua b/awesome/rules.lua index 5dfcba8..63a6ebe 100644 --- a/awesome/rules.lua +++ b/awesome/rules.lua @@ -30,10 +30,12 @@ awful.rules.rules = { class = { "MPlayer", "pinentry", - "mpv", "gimp", } }, properties = { floating = true } }, + { rule = { class = "mpv" }, + properties = { border_width = 0, + floating = true }}, { rule = { class = terminal_class, instance = "pulsemixer" }, properties = { floating = true, skip_taskbar = true, -- 2.48.1