configuring environment variables #1005
-
|
As I understood the documentation, it shoud be possible to overwrite env vars to set browser, explorer etc by overwriting them in I did that and nothing happens. What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
As of the moment this overrides the default browser when using binds. Do you want to set it as a default browser ? Like opening links immediately opens to that browser? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I don’t understand how this configuration is supposed to work. Here’s what I have in # Configuration file for HyDE
# Environment variables should be on top
# Updated config.toml file can be found at $HOME/.local/share/hyde/config.toml
"$schema" = "https://raw.githubusercontent.com/HyDE-Project/HyDE/refs/heads/master/Configs/.local/share/hyde/schema/config.toml.json"
# Hyprland configuration.
[hyprland]
browser = "vivaldi" # Browser.
editor = "nano" # Editor.After restarting, I checked my environment variables: echo $EDITOR
# Output: code
echo $BROWSER
# Output: (empty)The values in the config file don’t seem to override the environment variables. Could someone clarify how this is supposed to work? Thanks! |
Beta Was this translation helpful? Give feedback.

Yes, yes
Here's how I setup mine. the string should be a valid executable. better if full path. If you want to launch a
.desktopapp launch it withgtk-launch.Example
gtk-launch nvim.nvim?Because it requires a terminal to run. You can also use
kitty nviminstead, to run it using kitty terminal.gtk-launchBecause gtk-launch automatically knows if a
app.desktopapplication should run in terminal or not etc. It's a convenient way of launching stuff. It's like how you launch something using a launcher.