]> git.rmz.io Git - dotfiles.git/commitdiff
awesome: no border for mpv
authorSamir Benmendil <me@rmz.io>
Tue, 26 Jan 2021 00:04:03 +0000 (00:04 +0000)
committerSamir Benmendil <me@rmz.io>
Tue, 26 Jan 2021 00:25:01 +0000 (00:25 +0000)
Maybe I want no borders for any floating window, or even only add
borders for terminals.

awesome/rules.lua

index 5dfcba82cf17f5459465e4bd45bd63fc151f4eab..63a6ebef16a97580bfe86ce956388f8ed21d6c42 100644 (file)
@@ -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,