From c8befe0767c38f348633ad4a89a31bc1051a7fed Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Sat, 21 Sep 2024 11:18:22 +0100
Subject: [PATCH] Switch firefox to brave

---
 config/awesome/rc.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index 7dc00b7e..f2f72680 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -372,7 +372,7 @@ globalkeys = gears.table.join(
   end, { description = "run prompt", group = "launcher" }),
 
   awful.key({ modkey, "Shift" }, "b", function()
-    awful.spawn "firefox"
+    awful.spawn "brave"
   end, { description = "run browser", group = "launcher" }),
 
   awful.key({ modkey, "Shift" }, "f", function()
@@ -623,7 +623,7 @@ awful.rules.rules = {
   -- { rule = { class = "Firefox" },
   --   properties = { screen = 1, tag = "2" } },
 
-  { rule = { class = "firefox" }, properties = { opacity = 1, maximized = false, floating = false } },
+  { rule = { class = "brave" }, properties = { opacity = 1, maximized = false, floating = false } },
   { rule = { class = "mpv" }, properties = { tag = "5", fullscreen = true } },
   { rule = { name = "Podcasts - Pocket Casts" }, properties = { tag = "6" } },
   { rule = { class = "kdenlive" }, properties = { tag = "7" } },