Switch to Firefox from flatpak.

This commit is contained in:
Bartek Stalewski 2023-06-27 00:24:44 +02:00
parent c7982e3cab
commit 5281108108
2 changed files with 4 additions and 2 deletions

2
_desktop/_scripts/firefox Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
[ -n "$1" ] && flatpak run org.mozilla.firefox -P priv "$*" || flatpak run org.mozilla.firefox -P priv

View File

@ -45,12 +45,12 @@ keys = [
Key([mod, "shift"], "k", lazy.layout.grow_up()),
Key([mod, "shift", "control"], "0", lazy.layout.normalize()),
# app binds
Key([mod], "Return", lazy.spawn("sh -c 'BROWSER=firefox-bin st'")),
Key([mod], "Return", lazy.spawn("sh -c 'BROWSER=firefox st'")),
Key([mod], "space", lazy.spawncmd()),
Key([mod], "a", lazy.spawn("authenticator")),
Key([mod], "e", lazy.spawn("selector-chars")),
Key([mod], "i", lazy.spawn("scrot -f -s 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'")),
Key([mod], "m", lazy.spawn("sh -c 'pgrep -x neomutt > /dev/null || BROWSER=firefox-bin st -n mutt -e neomutt'")),
Key([mod], "m", lazy.spawn("sh -c 'pgrep -x neomutt > /dev/null || BROWSER=firefoxn st -n mutt -e neomutt'")),
Key([mod, "shift"], "i", lazy.spawn("scrot -f 'scrot_%Y-%m-%d_%H-%M-%S_%s.png'")),
Key([mod, "shift"], "Return", lazy.spawn("sh -c 'terminal_profile=work BROWSER=workfx st'")),
Key([mod, "control"], "a", lazy.spawn("selector-audio")),