diff options
| author | Josh Rahm <rahm@google.com> | 2022-03-28 22:59:29 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2022-03-28 22:59:29 -0600 |
| commit | efe9e1a5f8474a865e2762d3a795dbe43763985b (patch) | |
| tree | fc147a29518a76edd04f3140da7e8b59d821d468 /src | |
| parent | f9515a7669976b8f2fe80e9b93ba1b97528954d2 (diff) | |
| parent | 2a9c5414ffef1544cb0c7bd05e5a2f58ece064e6 (diff) | |
| download | rde-efe9e1a5f8474a865e2762d3a795dbe43763985b.tar.gz rde-efe9e1a5f8474a865e2762d3a795dbe43763985b.tar.bz2 rde-efe9e1a5f8474a865e2762d3a795dbe43763985b.zip | |
Merge branch 'v017' of git.josher.dev:rde into v017
Diffstat (limited to 'src')
| -rw-r--r-- | src/Main.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs index 0018fa2..44fb358 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -23,7 +23,6 @@ import Internal.RebindKeys import qualified XMonad as X import qualified XMonad.StackSet as W - main = do -- Execute some commands. @@ -37,7 +36,9 @@ main = do (=<<) X.xmonad $ applyKeys $ ewmh $ docks $ windowHooks (composeAll [ - (className =? "Google-chrome" <||> className =? "Brave-browser") --> composeAll [ + let browsers = ["Google-chrome", "Brave-browser", "firefox-default"] in + + (flip elem browsers <$> className) --> composeAll [ -- The geniuses that made chrome decided that Ctrl+W should kill -- the current tab! This makes it consistent with the rest of the -- world ... ctrl+w deletes the last word (ctrl+backspace). |