@@ -45,43 +45,21 @@ dnf5 -y install wezterm
4545dnf5 -y copr enable agriffis/neovim-nightly
4646dnf5 -y install neovim python3-neovim
4747
48- # Install BinaryOS application configs as system defaults
49- # XDG-compliant applications will use these as defaults when users first log in
50-
51- # Hyprland configs
52- install -Dm644 /usr/share/binaryos/config/hypr/hyprland.conf /usr/etc/xdg/hypr/hyprland.conf
53- install -Dm644 /usr/share/binaryos/config/hypr/hyprlock.conf /usr/etc/xdg/hypr/hyprlock.conf
54- install -Dm644 /usr/share/binaryos/config/hypr/hypridle.conf /usr/etc/xdg/hypr/hypridle.conf
55- install -Dm644 /usr/share/binaryos/config/hypr/hyprpaper.conf /usr/etc/xdg/hypr/hyprpaper.conf
56-
57- # Install background image to system location
58- install -Dm644 /usr/share/binaryos/config/hypr/background.webp /usr/share/binaryos/hypr/background.webp
59-
6048# Fish shell configs
61- install -Dm644 /usr/share/binaryos/config/fish/config.fish /usr/etc/fish/config.fish
62- cp -r /usr/share/binaryos/config/fish/conf.d /usr/etc/fish/
63- cp -r /usr/share/binaryos/config/fish/functions /usr/etc/fish/ 2> /dev/null || true
64- cp -r /usr/share/binaryos/config/fish/completions /usr/etc/fish/ 2> /dev/null || true
65-
66- # Neovim configs
67- cp -r /usr/share/binaryos/config/nvim /usr/etc/xdg/nvim
49+ # Fish doesn't use XDG_CONFIG_DIRS, so we install to /etc/fish
50+ install -Dm644 /usr/share/binaryos/config/fish/config.fish /etc/fish/config.fish
51+ cp -r /usr/share/binaryos/config/fish/conf.d /etc/fish/
52+ cp -r /usr/share/binaryos/config/fish/functions /etc/fish/ 2> /dev/null || true
53+ cp -r /usr/share/binaryos/config/fish/completions /etc/fish/ 2> /dev/null || true
6854
6955# Wezterm configs
70- # Wezterm doesn't support /etc/xdg for system defaults, so we install to /etc/skel
56+ # Wezterm doesn't support XDG_CONFIG_DIRS for system defaults, so we install to /etc/skel
7157# which will be copied to new user home directories
72- install -Dm644 /usr/share/binaryos/config/wezterm/wezterm.lua /usr/etc/skel/.config/wezterm/wezterm.lua
73-
74- # Walker configs
75- cp -r /usr/share/binaryos/config/walker/themes /usr/etc/xdg/walker/
76- install -Dm644 /usr/share/binaryos/config/walker/config.toml /usr/etc/xdg/walker/config.toml
77-
78- # Gitui configs
79- install -Dm644 /usr/share/binaryos/config/gitui/key_bindings.ron /usr/etc/xdg/gitui/key_bindings.ron
80-
81- # Elephant configs
82- install -Dm644 /usr/share/binaryos/config/elephant/elephant.toml /usr/etc/xdg/elephant/elephant.toml
58+ install -Dm644 /usr/share/binaryos/config/wezterm/wezterm.lua /etc/skel/.config/wezterm/wezterm.lua
8359
84- # Ashell configs
85- install -Dm644 /usr/share/binaryos/config/ashell/config.toml /usr/etc/xdg/ashell/config.toml
60+ # Configure XDG environment for BinaryOS
61+ # This makes all configs in /usr/share/binaryos/config discoverable
62+ # while preserving user and admin override capabilities
63+ install -Dm644 /ctx/60-binaryos-xdg.conf /usr/lib/environment.d/60-binaryos-xdg.conf
8664
8765# systemctl enable podman.socket
0 commit comments