Skip to content

Commit b4ed473

Browse files
committed
use /usr/etc and not /etc/ for ostree
1 parent 29cb380 commit b4ed473

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

build_files/build.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,39 +49,39 @@ dnf5 -y install neovim python3-neovim
4949
# XDG-compliant applications will use these as defaults when users first log in
5050

5151
# Hyprland configs
52-
install -Dm644 /usr/share/binaryos/config/hypr/hyprland.conf /etc/xdg/hypr/hyprland.conf
53-
install -Dm644 /usr/share/binaryos/config/hypr/hyprlock.conf /etc/xdg/hypr/hyprlock.conf
54-
install -Dm644 /usr/share/binaryos/config/hypr/hypridle.conf /etc/xdg/hypr/hypridle.conf
55-
install -Dm644 /usr/share/binaryos/config/hypr/hyprpaper.conf /etc/xdg/hypr/hyprpaper.conf
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
5656

5757
# Install background image to system location
5858
install -Dm644 /usr/share/binaryos/config/hypr/background.webp /usr/share/binaryos/hypr/background.webp
5959

6060
# Fish shell configs
61-
install -Dm644 /usr/share/binaryos/config/fish/config.fish /etc/fish/config.fish
62-
cp -r /usr/share/binaryos/config/fish/conf.d /etc/fish/
63-
cp -r /usr/share/binaryos/config/fish/functions /etc/fish/ 2>/dev/null || true
64-
cp -r /usr/share/binaryos/config/fish/completions /etc/fish/ 2>/dev/null || true
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
6565

6666
# Neovim configs
67-
cp -r /usr/share/binaryos/config/nvim /etc/xdg/nvim
67+
cp -r /usr/share/binaryos/config/nvim /usr/etc/xdg/nvim
6868

6969
# Wezterm configs
7070
# Wezterm doesn't support /etc/xdg for system defaults, so we install to /etc/skel
7171
# which will be copied to new user home directories
72-
install -Dm644 /usr/share/binaryos/config/wezterm/wezterm.lua /etc/skel/.config/wezterm/wezterm.lua
72+
install -Dm644 /usr/share/binaryos/config/wezterm/wezterm.lua /usr/etc/skel/.config/wezterm/wezterm.lua
7373

7474
# Walker configs
75-
install -Dm644 /usr/share/binaryos/config/walker/config.toml /etc/xdg/walker/config.toml
76-
cp -r /usr/share/binaryos/config/walker/themes /etc/xdg/walker/
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
7777

7878
# Gitui configs
79-
install -Dm644 /usr/share/binaryos/config/gitui/key_bindings.ron /etc/xdg/gitui/key_bindings.ron
79+
install -Dm644 /usr/share/binaryos/config/gitui/key_bindings.ron /usr/etc/xdg/gitui/key_bindings.ron
8080

8181
# Elephant configs
82-
install -Dm644 /usr/share/binaryos/config/elephant/elephant.toml /etc/xdg/elephant/elephant.toml
82+
install -Dm644 /usr/share/binaryos/config/elephant/elephant.toml /usr/etc/xdg/elephant/elephant.toml
8383

8484
# Ashell configs
85-
install -Dm644 /usr/share/binaryos/config/ashell/config.toml /etc/xdg/ashell/config.toml
85+
install -Dm644 /usr/share/binaryos/config/ashell/config.toml /usr/etc/xdg/ashell/config.toml
8686

8787
# systemctl enable podman.socket

dot_files/hypr/hyprland.conf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,12 @@ exec-once = hyprpaper -c /usr/share/binaryos/config/hypr/hyprpaper.conf
6565
exec-once = swayosd-server
6666

6767
# Start hypridle for auto-lock
68-
exec-once = hypridle -c /usr/share/binaryos/config/hypr/hypridle.conf
68+
exec-once = hypridle -c /usr/share/binaryos/config/hypr/hypridle.conf
6969

7070
# exec-once = $terminal
7171
# exec-once = nm-applet &
7272
# exec-once = waybar & firefox
73-
74-
73+
#
7574
#############################
7675
### ENVIRONMENT VARIABLES ###
7776
#############################

0 commit comments

Comments
 (0)