[bin] Back to Qutebrowser. Firefox needs to take a long hard look at itself
parent
cb1afa5fc9
commit
fb9a138102
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
BROWSER=qutebrowser
|
||||
|
||||
if ! pgrep $BROWSER > /dev/null; then
|
||||
echo "Opening a new instance of ${BROWSER}"
|
||||
$BROWSER &
|
||||
fi
|
||||
|
||||
$BROWSER --target tab-silent --target tab-silent $*
|
|
@ -25,7 +25,7 @@ case "${match}" in
|
|||
exec foot ssh "$host"
|
||||
;;
|
||||
text/html|http://*|https://*)
|
||||
exec firefox "$1"
|
||||
exec browser "$1"
|
||||
;;
|
||||
application/x-postscript|image/x-eps|application/pdf)
|
||||
exec zathura "$1"
|
||||
|
|
|
@ -34,6 +34,7 @@ in
|
|||
# unstable.pkgs.logseq
|
||||
unstable.pkgs.obsidian
|
||||
unstable.pkgs.foot
|
||||
unstable.pkgs.qutebrowser
|
||||
pkgs.sqlite
|
||||
pkgs.inotify-tools
|
||||
pkgs.graphviz
|
||||
|
|
|
@ -363,7 +363,7 @@ mode "resize" {
|
|||
}
|
||||
|
||||
set $mode_alfaview "Alfaview: (r) launch (s) share (k) stop share"
|
||||
set $mode_run "Run: (d) launcher (b)ookmarks (f)ile (c)lipboard (r)ofi (p)ass (s)snippets (w)firefox (a)lfaview"
|
||||
set $mode_run "Run: (d) launcher (b)ookmarks (f)ile (c)lipboard (r)ofi (p)ass (s)snippets (w)eb (a)lfaview"
|
||||
set $mode_file "Files: (h)ome (s)creenshots (d)rop-last"
|
||||
|
||||
mode $mode_run {
|
||||
|
@ -383,7 +383,7 @@ mode $mode_run {
|
|||
bindsym s exec $menu snippets; mode "default"
|
||||
bindsym tab exec swytch; mode "default"
|
||||
|
||||
bindsym w exec firefox; mode "default";
|
||||
bindsym w exec browser; mode "default";
|
||||
bindsym $mod+w exec chromium-browser; mode "default";
|
||||
|
||||
bindsym e exec em; mode "default"
|
||||
|
|
Loading…
Reference in New Issue