Skip to content

Commit 6d2130a

Browse files
authored
Defaults (#10)
1 parent 7dd9188 commit 6d2130a

File tree

8 files changed

+40
-119
lines changed

8 files changed

+40
-119
lines changed

build_files/binaryos-config

Lines changed: 0 additions & 13 deletions
This file was deleted.

build_files/binaryos-config.service

Lines changed: 0 additions & 11 deletions
This file was deleted.

build_files/build.sh

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ dnf5 -y install ashell
2323
# Application Launcher
2424
dnf5 -y copr enable errornointernet/walker
2525
dnf5 -y install walker
26+
27+
# Application Launcher
28+
dnf5 -y copr enable errornointernet/packages
2629
dnf5 -y install elephant
2730

2831
# On Screen Display
@@ -41,11 +44,35 @@ dnf5 -y install wezterm
4144
dnf5 -y copr enable agriffis/neovim-nightly
4245
dnf5 -y install neovim python3-neovim
4346

44-
# Install binaryos config setup script and service
45-
install -Dm755 /ctx/binaryos-config /usr/bin/binaryos-config
46-
install -Dm644 /ctx/binaryos-config.service /usr/lib/systemd/user/binaryos-config.service
47+
# Install BinaryOS application configs as system defaults
48+
# XDG-compliant applications will use these as defaults when users first log in
49+
50+
# Hyprland configs
51+
install -Dm644 /usr/share/binaryos/config/hypr/hyprland.conf /etc/xdg/hypr/hyprland.conf
52+
install -Dm644 /usr/share/binaryos/config/hypr/hyprlock.conf /etc/xdg/hypr/hyprlock.conf
53+
install -Dm644 /usr/share/binaryos/config/hypr/hypridle.conf /etc/xdg/hypr/hypridle.conf
54+
install -Dm644 /usr/share/binaryos/config/hypr/hyprpaper.conf /etc/xdg/hypr/hyprpaper.conf
55+
56+
# Install background image to system location
57+
install -Dm644 /usr/share/binaryos/config/hypr/background.webp /usr/share/binaryos/hypr/background.webp
58+
59+
# Fish shell configs
60+
install -Dm644 /usr/share/binaryos/config/fish/config.fish /etc/fish/config.fish
61+
cp -r /usr/share/binaryos/config/fish/conf.d /etc/fish/
62+
cp -r /usr/share/binaryos/config/fish/functions /etc/fish/ 2>/dev/null || true
63+
cp -r /usr/share/binaryos/config/fish/completions /etc/fish/ 2>/dev/null || true
64+
65+
# Neovim configs
66+
cp -r /usr/share/binaryos/config/nvim /etc/xdg/nvim
67+
68+
# Wezterm configs
69+
install -Dm644 /usr/share/binaryos/config/wezterm/wezterm.lua /etc/xdg/wezterm/wezterm.lua
70+
71+
# Walker configs
72+
install -Dm644 /usr/share/binaryos/config/walker/config.toml /etc/xdg/walker/config.toml
73+
cp -r /usr/share/binaryos/config/walker/themes /etc/xdg/walker/
4774

48-
# Enable hyprland config setup service
49-
systemctl --global enable binaryos-config.service
75+
# Gitui configs
76+
install -Dm644 /usr/share/binaryos/config/gitui/key_bindings.ron /etc/xdg/gitui/key_bindings.ron
5077

5178
# systemctl enable podman.socket

dot_files/fish/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Fish shell user-specific files
2+
fish_variables
3+
fishd.tmp.*
4+

dot_files/fish/fish_variables

Lines changed: 0 additions & 86 deletions
This file was deleted.

dot_files/fish/fishd.tmp.ehcEoz

Whitespace-only changes.

dot_files/hypr/hyprland.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ $menu = /usr/sbin/walker
5656
exec-once = systemctl --user start elephant.service
5757

5858
# Start hyprpaper for wallpaper
59-
exec-once = hyprpaper -c ./hyprpaper.conf
59+
exec-once = hyprpaper -c ~/.config/hypr/hyprpaper.conf
6060

6161
# Start swayosd server for OSD notifications
6262
exec-once = swayosd-server
6363

6464
# Start hypridle for auto-lock
65-
exec-once = hypridle -c ./hypridle.conf
65+
exec-once = hypridle -c ~/.config/hypr/hypridle.conf
6666

6767
# exec-once = $terminal
6868
# exec-once = nm-applet &

dot_files/hypr/hyprpaper.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
# Preload wallpapers (load into memory)
44
# Replace with your actual wallpaper path
5-
preload = /user/share/binaryos/hypr/background.webp
5+
preload = /usr/share/binaryos/hypr/background.webp
66

77
# Set wallpaper for all monitors
88
# Use empty monitor name to apply to all monitors
9-
wallpaper = ,/user/share/binaryos/hypr/background.webp
9+
wallpaper = ,/usr/share/binaryos/hypr/background.webp
1010

1111
# You can also set per-monitor wallpapers:
1212
# wallpaper = DP-1,~/Pictures/wallpaper1.png

0 commit comments

Comments
 (0)