From c54fbaf36f10610e454cf147d630d4c771bc7852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Mon, 17 Nov 2025 09:00:42 +0100 Subject: [PATCH] Add explicit profile override for firefox desktop entry --- applications/firefox.desktop | 3 +++ bin/firefox-default | 3 +++ dotfiles.yml | 3 +++ zsh/zprofile.j2 | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 applications/firefox.desktop create mode 100755 bin/firefox-default diff --git a/applications/firefox.desktop b/applications/firefox.desktop new file mode 100644 index 0000000..2e97ba0 --- /dev/null +++ b/applications/firefox.desktop @@ -0,0 +1,3 @@ +[Desktop Entry] +Exec=/bin/sh -c '/usr/bin/firefox --profile "$HOME/.mozilla/firefox/profile-default" %u' + diff --git a/bin/firefox-default b/bin/firefox-default new file mode 100755 index 0000000..7c881d7 --- /dev/null +++ b/bin/firefox-default @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +exec /usr/bin/firefox --profile "$HOME/.mozilla/firefox/profile-default" diff --git a/dotfiles.yml b/dotfiles.yml index 5e028df..cb34203 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -99,6 +99,9 @@ dotfiles: to: .config/screencfg.toml - from: cargo/config.toml to: .local/state/cargo/config.toml + - from: applications + to: .local/share/applications + dir: true dotfiles_remove: - .gitconfig - .vimrc diff --git a/zsh/zprofile.j2 b/zsh/zprofile.j2 index 7375219..5782ab0 100644 --- a/zsh/zprofile.j2 +++ b/zsh/zprofile.j2 @@ -8,7 +8,7 @@ export PATH="${HOME}/bin:${PATH}" export EDITOR="helix" export VISUAL="helix" -export BROWSER="firefox" +export BROWSER="firefox-default" export PAGER="less" export LESS="FRX"