set firefox to default browser

This commit is contained in:
Rieger, Simon 2023-08-17 14:50:20 +02:00
parent f1bd612cd6
commit 886db30032
4 changed files with 37 additions and 20 deletions

View file

@ -281,13 +281,13 @@ bindsym $mod+minus scratchpad show
# Starte Programme über Tastaurkombination # Starte Programme über Tastaurkombination
# Press $mod+o followed by either c to launch chromium, # Press $mod+o followed by either b to launch firefox,
# Escape or Return to the default mode, respectively. # Escape or Return to the default mode, respectively.
set $mode_launcher Launch: [c]hromium [p]avucontrol [a]randr [f]ilemanager set $mode_launcher Launch: [b]rowser [p]avucontrol [a]randr [f]ilemanager
bindsym $mod+o mode "$mode_launcher" bindsym $mod+o mode "$mode_launcher"
mode "$mode_launcher" { mode "$mode_launcher" {
bindsym f exec chromium, mode "default" bindsym f exec firefox, mode "default"
bindsym p exec pavucontrol, mode "default" bindsym p exec pavucontrol, mode "default"
bindsym a exec arandr, mode "default" bindsym a exec arandr, mode "default"
bindsym f exec pcmanfm, mode "default" bindsym f exec pcmanfm, mode "default"
@ -296,7 +296,7 @@ mode "$mode_launcher" {
bindsym Return mode "default" bindsym Return mode "default"
} }
bindsym $mod+b exec chromium bindsym $mod+b exec firefox
bindsym $mod+t exec pcmanfm bindsym $mod+t exec pcmanfm
bindsym $mod+n exec wezterm start nmtui bindsym $mod+n exec wezterm start nmtui

View file

@ -1,12 +0,0 @@
[Added Associations]
image/png=lximage-qt.desktop;
application/pdf=org.gnome.Evince.desktop;
application/json=userapp-wezterm-vim-LS2K41.desktop;code-oss.desktop;
[Default Applications]
text/html=chromium.desktop
x-scheme-handler/http=chromium.desktop
x-scheme-handler/https=chromium.desktop
x-scheme-handler/about=chromium.desktop
x-scheme-handler/unknown=chromium.desktop
inode/directory=pcmanfm-qt.desktop

View file

@ -0,0 +1,29 @@
[Added Associations]
image/png=lximage-qt.desktop;
application/pdf=org.gnome.Evince.desktop;
application/json=userapp-wezterm-vim-LS2K41.desktop;code-oss.desktop;
x-scheme-handler/http=firefox.desktop;
x-scheme-handler/https=firefox.desktop;
x-scheme-handler/chrome=firefox.desktop;
text/html=firefox.desktop;
application/x-extension-htm=firefox.desktop;
application/x-extension-html=firefox.desktop;
application/x-extension-shtml=firefox.desktop;
application/xhtml+xml=firefox.desktop;
application/x-extension-xhtml=firefox.desktop;
application/x-extension-xht=firefox.desktop;
[Default Applications]
text/html=firefox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktop
inode/directory=pcmanfm-qt.desktop
x-scheme-handler/chrome=firefox.desktop
application/x-extension-htm=firefox.desktop
application/x-extension-html=firefox.desktop
application/x-extension-shtml=firefox.desktop
application/xhtml+xml=firefox.desktop
application/x-extension-xhtml=firefox.desktop
application/x-extension-xht=firefox.desktop

View file

@ -258,13 +258,13 @@ bindsym $mod+minus scratchpad show
# Starte Programme über Tastaurkombination # Starte Programme über Tastaurkombination
# Press $mod+o followed by either c to launch chromium, # Press $mod+o followed by either b to launch firefox,
# Escape or Return to the default mode, respectively. # Escape or Return to the default mode, respectively.
set $mode_launcher Launch: [c]hromium [p]avucontrol [w]displays [f]ilemanager set $mode_launcher Launch: [b]rowser [p]avucontrol [w]displays [f]ilemanager
bindsym $mod+o mode "$mode_launcher" bindsym $mod+o mode "$mode_launcher"
mode "$mode_launcher" { mode "$mode_launcher" {
bindsym c exec chromium, mode "default" bindsym b exec firefox, mode "default"
bindsym p exec pavucontrol-qt, mode "default" bindsym p exec pavucontrol-qt, mode "default"
bindsym w exec wdisplays, mode "default" bindsym w exec wdisplays, mode "default"
bindsym f exec pcmanfm-qt, mode "default" bindsym f exec pcmanfm-qt, mode "default"
@ -273,7 +273,7 @@ mode "$mode_launcher" {
bindsym Return mode "default" bindsym Return mode "default"
} }
bindsym $mod+b exec chromium bindsym $mod+b exec firefox
bindsym $mod+t exec pcmanfm-qt bindsym $mod+t exec pcmanfm-qt
bindsym $mod+n exec wezterm start nmtui bindsym $mod+n exec wezterm start nmtui