From fc5432398fa6471d0e1e8714538925ce04a65fd6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 13 Apr 2026 22:25:36 +0000 Subject: [PATCH] Remove standard wallpaper and screen-detection logic, use ultrawide only Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/3d5ffac9-c152-4ea7-ba54-cb024dc4acae Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- .../sovran-wallpaper-08-tagline-only.svg | 291 ------------------ modules/core/sovran_systemsos-desktop.nix | 24 +- 2 files changed, 3 insertions(+), 312 deletions(-) delete mode 100644 assets/wallpapers/sovran-wallpaper-08-tagline-only.svg diff --git a/assets/wallpapers/sovran-wallpaper-08-tagline-only.svg b/assets/wallpapers/sovran-wallpaper-08-tagline-only.svg deleted file mode 100644 index 6c580ca..0000000 --- a/assets/wallpapers/sovran-wallpaper-08-tagline-only.svg +++ /dev/null @@ -1,291 +0,0 @@ - -PRIVACY. SOVEREIGNTY. BITCOIN. diff --git a/modules/core/sovran_systemsos-desktop.nix b/modules/core/sovran_systemsos-desktop.nix index 3cd1f30..b97446f 100644 --- a/modules/core/sovran_systemsos-desktop.nix +++ b/modules/core/sovran_systemsos-desktop.nix @@ -12,10 +12,6 @@ let installPhase = '' mkdir -p $out/share/backgrounds/sovran - rsvg-convert -w 1920 -h 1080 \ - $src/sovran-wallpaper-08-tagline-only.svg \ - -o $out/share/backgrounds/sovran/sovran-standard.png - rsvg-convert -w 3440 -h 1440 \ $src/sovran-wallpaper-12-ultrawide-3440x1440.svg \ -o $out/share/backgrounds/sovran/sovran-ultrawide.png @@ -41,23 +37,9 @@ let # Fresh install — no user-db exists yet, apply full Sovran theme below BG_DIR="/run/current-system/sw/share/backgrounds/sovran" - STANDARD="$BG_DIR/sovran-standard.png" ULTRAWIDE="$BG_DIR/sovran-ultrawide.png" - WIDTH=$(${pkgs.dbus}/bin/dbus-send \ - --session \ - --print-reply \ - --dest=org.gnome.Mutter.DisplayConfig \ - /org/gnome/Mutter/DisplayConfig \ - org.gnome.Mutter.DisplayConfig.GetCurrentState \ - 2>/dev/null \ - | grep -oP 'uint32 \K[0-9]+' \ - | head -1) - - CHOSEN="$STANDARD" - if [ -n "$WIDTH" ] && [ "$WIDTH" -ge 2560 ] && [ -f "$ULTRAWIDE" ]; then - CHOSEN="$ULTRAWIDE" - fi + CHOSEN="$ULTRAWIDE" ${pkgs.dconf}/bin/dconf load / << EOF [org/gnome/desktop/background] @@ -198,8 +180,8 @@ in settings = { "org/gnome/desktop/background" = { - picture-uri = "file:///run/current-system/sw/share/backgrounds/sovran/sovran-standard.png"; - picture-uri-dark = "file:///run/current-system/sw/share/backgrounds/sovran/sovran-standard.png"; + picture-uri = "file:///run/current-system/sw/share/backgrounds/sovran/sovran-ultrawide.png"; + picture-uri-dark = "file:///run/current-system/sw/share/backgrounds/sovran/sovran-ultrawide.png"; picture-options = "zoom"; primary-color = "#000000"; secondary-color = "#000000";