- Install gruvbox wallpaper to /run/current-system/sw/share/backgrounds/jade/ - Split xinitrc into "Personal Configuration" and "jade Desktop Environment" - Move wallpaper into jade/assets/ for flake extraction readiness This makes jade fully repo-independent - the wallpaper is now part of jade's system packages rather than referencing the nix-config repo. When extracted as a flake, jade will be completely self-contained.
31 lines
715 B
Bash
31 lines
715 B
Bash
#!/bin/bash
|
|
|
|
#
|
|
# Personal Configuration
|
|
#
|
|
|
|
# Setup monitors
|
|
xrandr --output HDMI-A-0 --mode 1920x1080 \
|
|
--output DisplayPort-0 --mode 2560x1440 --right-of HDMI-A-0
|
|
|
|
# Fix for pinentry bug on NixOS
|
|
gpgconf --reload gpg-agent
|
|
|
|
#
|
|
# jade Desktop Environment
|
|
#
|
|
|
|
# Apply gruvbox-themed wallpaper
|
|
feh --bg-center /run/current-system/sw/share/backgrounds/jade/chinatown.png
|
|
|
|
# Disable screen saver and DPMS features
|
|
xset s off -dpms
|
|
|
|
# Import X display into systemd user environment for portal backends
|
|
systemctl --user import-environment DISPLAY XAUTHORITY
|
|
|
|
# Start XDG desktop portal backend for GTK apps (file pickers, etc.)
|
|
systemctl --user restart xdg-desktop-portal-gtk.service
|
|
|
|
# Launch window manager
|
|
exec xmonad
|