From 886db300325ef25907e80d9f305c1e008db086d3 Mon Sep 17 00:00:00 2001 From: "Rieger, Simon" Date: Thu, 17 Aug 2023 14:50:20 +0200 Subject: [PATCH] set firefox to default browser --- dot_config/i3/executable_config.tmpl | 8 +++---- dot_config/mimeapps.list | 12 ----------- dot_config/private_mimeapps.list | 29 ++++++++++++++++++++++++++ dot_config/sway/executable_config.tmpl | 8 +++---- 4 files changed, 37 insertions(+), 20 deletions(-) delete mode 100644 dot_config/mimeapps.list create mode 100644 dot_config/private_mimeapps.list diff --git a/dot_config/i3/executable_config.tmpl b/dot_config/i3/executable_config.tmpl index ae3ffa3..4a9d7be 100644 --- a/dot_config/i3/executable_config.tmpl +++ b/dot_config/i3/executable_config.tmpl @@ -281,13 +281,13 @@ bindsym $mod+minus scratchpad show # 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. -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" mode "$mode_launcher" { - bindsym f exec chromium, mode "default" + bindsym f exec firefox, mode "default" bindsym p exec pavucontrol, mode "default" bindsym a exec arandr, mode "default" bindsym f exec pcmanfm, mode "default" @@ -296,7 +296,7 @@ mode "$mode_launcher" { bindsym Return mode "default" } -bindsym $mod+b exec chromium +bindsym $mod+b exec firefox bindsym $mod+t exec pcmanfm bindsym $mod+n exec wezterm start nmtui diff --git a/dot_config/mimeapps.list b/dot_config/mimeapps.list deleted file mode 100644 index 7a2516d..0000000 --- a/dot_config/mimeapps.list +++ /dev/null @@ -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 diff --git a/dot_config/private_mimeapps.list b/dot_config/private_mimeapps.list new file mode 100644 index 0000000..5d3a99e --- /dev/null +++ b/dot_config/private_mimeapps.list @@ -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 diff --git a/dot_config/sway/executable_config.tmpl b/dot_config/sway/executable_config.tmpl index c3a0ece..fd4917c 100644 --- a/dot_config/sway/executable_config.tmpl +++ b/dot_config/sway/executable_config.tmpl @@ -258,13 +258,13 @@ bindsym $mod+minus scratchpad show # 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. -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" mode "$mode_launcher" { - bindsym c exec chromium, mode "default" + bindsym b exec firefox, mode "default" bindsym p exec pavucontrol-qt, mode "default" bindsym w exec wdisplays, mode "default" bindsym f exec pcmanfm-qt, mode "default" @@ -273,7 +273,7 @@ mode "$mode_launcher" { bindsym Return mode "default" } -bindsym $mod+b exec chromium +bindsym $mod+b exec firefox bindsym $mod+t exec pcmanfm-qt bindsym $mod+n exec wezterm start nmtui