1
0
Fork 0

[bin] Back to Qutebrowser. Firefox needs to take a long hard look at itself

main
Sebastian Schulze 2022-01-13 20:05:17 +01:00
parent cb1afa5fc9
commit fb9a138102
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
4 changed files with 16 additions and 3 deletions

12
bin/executable_browser Normal file
View File

@ -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 $*

View File

@ -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"

View File

@ -34,6 +34,7 @@ in
# unstable.pkgs.logseq
unstable.pkgs.obsidian
unstable.pkgs.foot
unstable.pkgs.qutebrowser
pkgs.sqlite
pkgs.inotify-tools
pkgs.graphviz

View File

@ -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"