From 6814aef9a945eeefe5cd259b93fba10a273e358d Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Wed, 31 May 2023 17:33:20 +0200 Subject: [PATCH] change to chromium --- dot_config/chromium-flags.conf | 2 + dot_config/i3/executable_config | 8 ++-- .../{private_mimeapps.list => mimeapps.list} | 42 ++++++++++--------- dot_config/sway/executable_config | 9 ++-- dot_config/waybar/config | 2 +- 5 files changed, 33 insertions(+), 30 deletions(-) create mode 100644 dot_config/chromium-flags.conf rename dot_config/{private_mimeapps.list => mimeapps.list} (82%) diff --git a/dot_config/chromium-flags.conf b/dot_config/chromium-flags.conf new file mode 100644 index 0000000..93a25ed --- /dev/null +++ b/dot_config/chromium-flags.conf @@ -0,0 +1,2 @@ +--force-dark-mode +--enable-features=WebUIDarkMode diff --git a/dot_config/i3/executable_config b/dot_config/i3/executable_config index d02b14c..8418b8a 100644 --- a/dot_config/i3/executable_config +++ b/dot_config/i3/executable_config @@ -279,13 +279,13 @@ bindsym $mod+minus scratchpad show # Starte Programme über Tastaurkombination -# Press $mod+o followed by either f to launch firefox, +# Press $mod+o followed by either c to launch chromium, # Escape or Return to the default mode, respectively. -set $mode_launcher Launch: [f]irefox [t]hunderbird [p]avucontrol [a]randr file[m]anager +set $mode_launcher Launch: [c]hromium [t]hunderbird [p]avucontrol [a]randr file[m]anager bindsym $mod+o mode "$mode_launcher" mode "$mode_launcher" { - bindsym f exec firefox + bindsym f exec chromium bindsym t exec thunderbird bindsym p exec pavucontrol bindsym a exec arandr @@ -295,7 +295,7 @@ mode "$mode_launcher" { bindsym Return mode "default" } -bindsym $mod+b exec firefox +bindsym $mod+b exec chromium bindsym $mod+t exec pcmanfm bindsym $mod+shift+t exec thunderbird bindsym $mod+n exec wezterm start nmtui diff --git a/dot_config/private_mimeapps.list b/dot_config/mimeapps.list similarity index 82% rename from dot_config/private_mimeapps.list rename to dot_config/mimeapps.list index c8d648a..68ea229 100644 --- a/dot_config/private_mimeapps.list +++ b/dot_config/mimeapps.list @@ -2,17 +2,17 @@ application/json=code-oss.desktop; application/pdf=org.gnome.Evince.desktop;com.github.xournalpp.xournalpp.desktop; application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop; -application/x-extension-htm=firefox.desktop; -application/x-extension-html=firefox.desktop; -application/x-extension-shtml=firefox.desktop; -application/x-extension-xht=firefox.desktop; -application/x-extension-xhtml=firefox.desktop; +application/x-extension-htm=chromium.desktop; +application/x-extension-html=chromium.desktop; +application/x-extension-shtml=chromium.desktop; +application/x-extension-xht=chromium.desktop; +application/x-extension-xhtml=chromium.desktop; application/x-ms-dos-executable=wine.desktop; application/x-raw-disk-image-xz-compressed=org.gnome.FileRoller.desktop; application/x-shellscript=code-oss.desktop; application/x-xz-compressed-tar=engrampa.desktop; application/x-yaml=code-oss.desktop; -application/xhtml+xml=firefox.desktop; +application/xhtml+xml=chromium.desktop; application/xml=code-oss.desktop; audio/flac=vlc.desktop; audio/mpeg=vlc.desktop; @@ -21,14 +21,14 @@ audio/x-vorbis+ogg=vlc.desktop; image/png=lximage-qt.desktop;org.xfce.ristretto.desktop;imv.desktop;feh.desktop;org.gnome.eog.desktop; inode/directory=xfce4-file-manager.desktop;pcmanfm.desktop;pcmanfm-qt.desktop; text/csv=code-oss.desktop; -text/html=firefox.desktop; +text/html=chromium.desktop; text/plain=code-oss.desktop; video/mp4=vlc.desktop; video/x-matroska=vlc.desktop; -x-scheme-handler/chrome=firefox.desktop; +x-scheme-handler/chrome=chromium.desktop; x-scheme-handler/geo=openstreetmap-geo-handler.desktop; -x-scheme-handler/http=firefox.desktop; -x-scheme-handler/https=firefox.desktop; +x-scheme-handler/http=chromium.desktop; +x-scheme-handler/https=chromium.desktop; x-scheme-handler/mailto=thunderbird.desktop;userapp-Thunderbird-Y331Y1.desktop; x-scheme-handler/tel=org.kde.kdeconnect.handler.desktop; x-scheme-handler/trash=xfce4-file-manager.desktop; @@ -57,15 +57,15 @@ application/json=code-oss.desktop application/pcx=lximage-qt.desktop application/pdf=org.gnome.Evince.desktop application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop -application/x-extension-htm=firefox.desktop -application/x-extension-html=firefox.desktop -application/x-extension-shtml=firefox.desktop -application/x-extension-xht=firefox.desktop -application/x-extension-xhtml=firefox.desktop +application/x-extension-htm=chromium.desktop +application/x-extension-html=chromium.desktop +application/x-extension-shtml=chromium.desktop +application/x-extension-xht=chromium.desktop +application/x-extension-xhtml=chromium.desktop application/x-shellscript=code-oss.desktop application/x-xz-compressed-tar=engrampa.desktop application/x-yaml=code-oss.desktop -application/xhtml+xml=firefox.desktop +application/xhtml+xml=chromium.desktop audio/flac=vlc.desktop audio/x-opus+ogg=vlc.desktop audio/x-vorbis+ogg=vlc.desktop @@ -85,16 +85,16 @@ image/x-portable-pixmap=lximage-qt.desktop image/x-targa=lximage-qt.desktop image/x-tga=lximage-qt.desktop inode/directory=pcmanfm.desktop -text/html=firefox.desktop +text/html=chromium.desktop text/plain=code-oss.desktop video/mp4=vlc.desktop video/x-matroska=vlc.desktop -x-scheme-handler/chrome=firefox.desktop +x-scheme-handler/chrome=chromium.desktop x-scheme-handler/discord-402572971681644545=discord-402572971681644545.desktop x-scheme-handler/discord-516565141911765022=discord-516565141911765022.desktop x-scheme-handler/geo=openstreetmap-geo-handler.desktop; -x-scheme-handler/http=firefox.desktop; -x-scheme-handler/https=firefox.desktop; +x-scheme-handler/http=chromium.desktop +x-scheme-handler/https=chromium.desktop x-scheme-handler/jetbrains=jetbrains-toolbox.desktop x-scheme-handler/mailto=userapp-Thunderbird-Y331Y1.desktop x-scheme-handler/tel=org.kde.kdeconnect.handler.desktop; @@ -115,3 +115,5 @@ text/calendar=userapp-Thunderbird-IT7VY1.desktop application/x-extension-ics=userapp-Thunderbird-IT7VY1.desktop x-scheme-handler/webcals=userapp-Thunderbird-IT7VY1.desktop x-scheme-handler/eclipse+command x-scheme-handler/eclipse+mpc=_home_simono41_eclipse_.desktop +x-scheme-handler/about=chromium.desktop +x-scheme-handler/unknown=chromium.desktop diff --git a/dot_config/sway/executable_config b/dot_config/sway/executable_config index bd42326..9d78fad 100644 --- a/dot_config/sway/executable_config +++ b/dot_config/sway/executable_config @@ -209,14 +209,13 @@ bindsym $mod+minus scratchpad show # Starte Programme über Tastaurkombination -# Press $mod+o followed by either f to launch firefox, +# Press $mod+o followed by either c to launch chromium, # Escape or Return to the default mode, respectively. -set $mode_launcher Launch: qute[b]rowser [f]irefox [t]hunderbird [p]avucontrol [w]displays file[m]anager +set $mode_launcher Launch: [c]hromium [t]hunderbird [p]avucontrol [w]displays file[m]anager bindsym $mod+o mode "$mode_launcher" mode "$mode_launcher" { - bindsym b exec qutebrowser, mode "default" - bindsym f exec firefox, mode "default" + bindsym c exec chromium --ozone-platform-hint=auto, mode "default" bindsym t exec thunderbird, mode "default" bindsym p exec pavucontrol-qt, mode "default" bindsym w exec wdisplays, mode "default" @@ -226,7 +225,7 @@ mode "$mode_launcher" { bindsym Return mode "default" } -bindsym $mod+b exec firefox +bindsym $mod+b exec chromium --ozone-platform-hint=auto bindsym $mod+t exec pcmanfm-qt bindsym $mod+shift+t exec thunderbird bindsym $mod+n exec wezterm start nmtui diff --git a/dot_config/waybar/config b/dot_config/waybar/config index 21daef2..06246a1 100644 --- a/dot_config/waybar/config +++ b/dot_config/waybar/config @@ -40,7 +40,7 @@ "format": "{name}: {icon} ", "format-icons": { "1": "", - "2": "", + "2": "", "3": "", "urgent": "", "focused": "",