Configure Librewolf to delegate claude-cli:// URIs to xdg-open
The xdg desktop entry and mimeapps were already registered but Librewolf doesn't delegate unknown URI schemes to the system handler by default. This adds user.js prefs to complete the chain. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
68f845e773
commit
dd1cf4f198
1 changed files with 7 additions and 0 deletions
|
|
@ -226,6 +226,13 @@ in
|
|||
home-manager.users.eblume = {
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
# Librewolf: delegate claude-cli:// URIs to system handler (xdg-open)
|
||||
home.file.".config/librewolf/librewolf/backlhkh.default/user.js".text = ''
|
||||
user_pref("network.protocol-handler.expose.claude-cli", false);
|
||||
user_pref("network.protocol-handler.external.claude-cli", true);
|
||||
user_pref("network.protocol-handler.warn-external.claude-cli", false);
|
||||
'';
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
checkConfig = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue