Files
omarchycn/default/uwsm/default
T
0b24b844df Scope BROWSER to interactive shells so xdg-settings can change the default browser (#6616)
Exporting BROWSER=omarchy-launch-browser into the whole uwsm session made
xdg-settings refuse "set default-web-browser", which broke every browser's
own "Set as default" button. The export only exists for terminal programs
(like gh) to open URLs detached from the terminal process tree, so move it
to default/bash/envs where interactive shells still pick it up.

Fixes #6590

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 23:58:51 +02:00

18 lines
783 B
Plaintext

# Changes require a restart to take effect.
# Install other terminals via Install > Terminal
export TERMINAL=xdg-terminal-exec
# BROWSER is intentionally not exported here: session-wide, it makes xdg-settings
# refuse to change the default browser, which breaks the browsers' own "Set as
# default" buttons. Interactive shells get BROWSER from default/bash/envs instead.
# Used by terminal programs to open files with the selected Omarchy default editor
export EDITOR="omarchy-launch-editor --inline"
# Use a custom directory for screenshots (remember to make the directory!)
# export OMARCHY_SCREENSHOT_DIR="$HOME/Pictures/Screenshots"
# Use a custom directory for screenrecordings (remember to make the directory!)
# export OMARCHY_SCREENRECORD_DIR="$HOME/Videos/Screencasts"