소스 검색

feat(brew): prefer Firefox over Chromium

Joe 1 년 전
부모
커밋
aaa528795c
5개의 변경된 파일9개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 2
      .config/brew/Brewfile
  2. 1 1
      .config/surfingkeys/compile.sh
  3. 4 4
      .config/yabai/yabai.py
  4. 3 3
      .github/README.md
  5. 1 1
      .scripts/open_application.zsh

+ 0 - 2
.config/brew/Brewfile

@@ -100,8 +100,6 @@ cask "alacritty"
 cask "betterdisplay"
 # Preference Pane for controlling cursor hiding
 cask "cursorcerer"
-# Google Chromium, sans integration with Google
-cask "eloston-chromium"
 # Web browser
 cask "firefox"
 # Vector graphics editor

+ 1 - 1
.config/surfingkeys/compile.sh

@@ -2,7 +2,7 @@
 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
 # compile.sh
 #
-# This script is made to be called by yabai when Chrome is launched - see
+# This script is made to be called by yabai when browser is launched - see
 # `yabairc` for details. This often causes the process to fire twice, so the
 # program requires a lock. Detailed compilation logs are also kept.
 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###

+ 4 - 4
.config/yabai/yabai.py

@@ -63,7 +63,7 @@ class Yabai:
         ("Desktop", False, ["*"]),
         ("Finder", False, ["Finder"]),
         ("Terminal", True, ["Alacritty"]),
-        ("Browser", True, ["Chromium"]),
+        ("Browser", True, ["Firefox"]),
         ("Communication", False, ["Slack", "Signal", "Spotify"]),
         ("Notetaking", True, ["Obsidian"]),
     ]
@@ -283,14 +283,14 @@ class Yabai:
                 "grid=10:10:6:6:4:4",
             ]
         )
-        # Compile SurfingKeys configuration when Chromium is launched
+        # Compile SurfingKeys configuration when Firefox is launched
         self.message(
             [
                 "signal",
                 "--add",
                 "event=application_launched",
-                "app=Chromium",
-                "label=ChromiumCompileExtensionsSignal",
+                "app=Firefox",
+                "label=FirefoxCompileExtensionsSignal",
                 f"action=/bin/zsh {XDG_CONFIG_HOME}/surfingkeys/compile.sh",
             ]
         )

+ 3 - 3
.github/README.md

@@ -154,9 +154,9 @@ graph TB
             end
         end
         subgraph Browser
-            chromium["`**ungoogled-chromium**
-                       Google-free Chrome fork`"]
-            chromium-- "`*uses*`" ---Extensions
+            firefox["`**Firefox**
+                       A free and open source web browser`"]
+            firefox -- "`*uses*`" ---Extensions
             subgraph Extensions
                 surfingkeys["`**Surfingkeys**
                               Customizable extension for

+ 1 - 1
.scripts/open_application.zsh

@@ -1,6 +1,6 @@
 #!/bin/zsh
 TERMINAL_PATH=/Applications/Alacritty.app/
-BROWSER_PATH=/Applications/Chromium.app/
+BROWSER_PATH=/Applications/Firefox.app/
 FINDER_PATH=/System/Library/CoreServices/Finder.app/
 COMMUNICATIONS_PATH=/Applications/Slack.app/
 ALT_COMMUNICATIONS_PATH=/Applications/Signal.app/