From 49dbc262dffc6381e49c1d5dcaf914e06a2efe43 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Tue, 3 Nov 2026 20:30:51 +0300 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Install lucid --- modules/user/lucid-prefs.json | 355 +++++++++++++++++++++++++++++- user/sweetbread/modules/lucid.nix | 13 +- 2 files changed, 349 insertions(+), 19 deletions(-) diff --git a/modules/user/lucid-prefs.json b/modules/user/lucid-prefs.json index 21cb52b..7df6fc9 100644 --- a/modules/user/lucid-prefs.json +++ b/modules/user/lucid-prefs.json @@ -1,12 +1,347 @@ { - "barEnabled": true, - "dockEnabled": true, - "widgetsEnabled": true, - "widgetOnTop": false, - "widgetHideFullscreen": true, - "desktopIcons": false, - "toastEnabled": true, - "liveWallpapers": true, - "wallpaperFolder": "/home/sweetbread/Wallpapers", - "fontFamily": "Pixeloid Sans" + "accentPunch": 1, + "audioCombine": "", + "audioMeters": true, + "audioMoveStreams": true, + "autoColorMode": false, + "barAutoHide": false, + "barEnabled": true, + "barFullCorner": 18, + "barHeight": 35, + "barHoverGrow": 3, + "barHoverOpen": true, + "barJoinDividers": false, + "barJoins": "[]", + "barLayout": "{\"left\":[\"start\",\"workspaces\",\"media\",\"tray\"],\"center\":[\"clock\"],\"right\":[\"window\",\"notifications\",\"system\",\"privacy\",\"power\"]}", + "barMotionScale": 1.35, + "barNotchFlare": 14, + "barPopupGap": 10, + "barPopupMode": true, + "barPopupNotched": false, + "barSideMargin": 17, + "barSpacing": 8, + "barStyle": "full", + "barTopMargin": 5, + "barZoneGap": 26, + "btAgent": true, + "btReceive": true, + "btReceiveAutoPaired": false, + "btReceiveFolder": "", + "btScanOnOpen": true, + "btShowUnnamed": false, + "clipboardEnabled": true, + "clock24h": true, + "clockDateFormat": "long", + "clockShowDate": true, + "clockShowSeconds": true, + "clockShowTimer": true, + "clockShowWeather": true, + "clockStyle": "accent", + "clockWorldZones": "Europe/Berlin,Europe/Kiev,America/Chicago,Asia/Tokyo", + "cornerScale": 1, + "desktopIconSize": "medium", + "desktopIconSpacing": "normal", + "desktopIcons": false, + "desktopIconsAutoArrange": false, + "desktopIconsCorner": "left", + "desktopIconsDrives": true, + "desktopIconsHidden": false, + "desktopIconsHideExt": false, + "desktopIconsHome": false, + "desktopIconsOpen": "double", + "desktopIconsShown": true, + "desktopIconsSort": "name", + "desktopIconsSortDesc": false, + "desktopIconsSpring": true, + "desktopIconsThumbs": true, + "desktopIconsTrash": true, + "desktopKeys": "{}", + "desktopMenu": true, + "desktopSelection": true, + "dndAllowCritical": true, + "dndFullscreen": false, + "doNotDisturb": false, + "dockAutoHide": true, + "dockBottomMargin": 13, + "dockDynamicHide": true, + "dockEnabled": true, + "dockHoverEffect": 1, + "dockIconPadding": 0, + "dockIconSize": 41, + "dockIconTiles": true, + "dockMagnify": true, + "dockNotchFlare": 14, + "dockRadius": 40, + "dockShowIndicators": true, + "dockShowRunning": true, + "dockShowTooltips": true, + "dockSpacing": 12, + "dockSplitGap": 8, + "dockStyle": "notch", + "envAdopted": true, + "envAppFont": "Pixeloid Sans", + "envAppFontSize": 13, + "envApplyGtk": true, + "envApplyHypr": true, + "envApplyQt": true, + "envColorScheme": "dark", + "envCursorShadow": true, + "envCursorSize": 32, + "envCursorTheme": "Kurumi", + "envDocumentFont": "Pixeloid Sans", + "envDocumentFontSize": 13, + "envFontSync": false, + "envGtkTheme": "Adwaita", + "envIconSet": "gravity", + "envIconTheme": "Pop-Dark", + "envLegacyIcons": false, + "envMonoFont": "JetBrains Mono", + "envMonoFontSize": 13, + "envQtPlatformTheme": "", + "envQtStyle": "kvantum", + "fontFamily": "Pixeloid Sans", + "fontScale": 1, + "gameModeOffCmd": "", + "gameModeOnCmd": "", + "gameModeStatusCmd": "", + "glassApps": "vscodium", + "glassValues": "vscodium=0.9", + "gpsEnabled": false, + "hiddenThemes": "", + "hyprOptions": "{\"general.layout\":\"scrolling\"}", + "idleAdopted": true, + "idleAutostart": true, + "idleDim": true, + "idleDimAfter": 120, + "idleDimKeyboard": true, + "idleDimLevel": 10, + "idleEnabled": false, + "idleKeepAwake": false, + "idleLock": true, + "idleLockAfter": 600, + "idleLockBeforeSleep": true, + "idleRespectInhibitors": true, + "idleScreenOff": true, + "idleScreenOffAfter": 900, + "idleSuspend": false, + "idleSuspendAfter": 1800, + "idleSuspendOnAc": false, + "idleWakeAfterSleep": true, + "idleWhileMedia": true, + "jellyAmount": 1, + "jellyMotion": true, + "kdeConnectEnabled": true, + "launcherActionHints": true, + "launcherAddressFirst": true, + "launcherAppActions": true, + "launcherAppDescriptions": true, + "launcherCalculator": true, + "launcherContentScale": 0.8, + "launcherDensity": "compact", + "launcherFrequentFirst": true, + "launcherHiddenApps": "", + "launcherModeBar": true, + "launcherPowerButtons": "lock,suspend,reboot,shutdown", + "launcherPowerChips": false, + "launcherPowerSearch": true, + "launcherSearchEngine": "duckduckgo", + "launcherSearchPosition": "bottom", + "launcherSettingsResults": true, + "launcherWebRow": true, + "launcherWidth": "wide", + "launcherWindows": true, + "liveDecoder": "cuda", + "liveGameMode": "pause", + "livePauseUnder": "any", + "liveWallpapers": true, + "locationLabel": "Nizhny Novgorod, Nizhny Novgorod Oblast, Russia", + "locationLat": 56.32867, + "locationLon": 44.00205, + "locationName": "Nizhniy Novgorod", + "locationTz": "Europe/Moscow", + "matugenContrast": 0, + "matugenScheme": "scheme-tonal-spot", + "matugenSourceImage": "", + "matugenSourceIndex": 0, + "mediaArtist": true, + "mediaHideIdle": true, + "mediaPanelStyle": "side", + "mediaPlayButton": true, + "mediaStyle": "disc", + "mediaTitleWidth": 300, + "mediaWheelVolume": true, + "monitorBarScreen": "", + "monitorDockScreen": "", + "monitorSetups": "{}", + "monitorShellScreen": "", + "monitorWorkspaces": "{}", + "motionScale": 1, + "nightLight": false, + "nightLightFrom": 1260, + "nightLightSchedule": "off", + "nightLightTemp": 4000, + "nightLightTo": 420, + "notifGrouping": true, + "notifInlineReply": true, + "notifMaxHistory": 50, + "notifMutedApps": "", + "notifProgress": true, + "notifSeenApps": "AyuGram Desktop,Clock,Hyprshot,Lucid test,starship,vesktop,Vivaldi,wallpaper_changer", + "notifShowIcons": true, + "notifSound": true, + "notifSoundName": "pulse", + "notifSoundUrgentOnly": false, + "notifSoundVolume": 0.6, + "notifTimestamps": true, + "notificationsStyle": "badge", + "osdCapsLock": true, + "osdNumLock": true, + "pinBadge": "top-right", + "pinBorder": "tertiary", + "pinPulse": true, + "pomodoroAutoFocus": true, + "pomodoroAutoStart": true, + "pomodoroFocus": 25, + "pomodoroGoal": 0, + "pomodoroLong": 15, + "pomodoroRepeat": true, + "pomodoroRounds": 4, + "pomodoroShort": 5, + "pomodoroSilence": false, + "powerModuleActions": "lock,suspend,hibernate,logout,reboot,shutdown", + "powerModuleConfirm": true, + "powerModulePanelStyle": "list", + "powerModuleStyle": "icon", + "powerModuleUptime": true, + "privacyAlwaysShown": false, + "privacyStyle": "marks", + "privacyToast": true, + "privacyWatch": "mic,camera,screen", + "quietFrom": 1320, + "quietHours": false, + "quietTo": 420, + "recordCountdown": 3, + "recordEncoder": "auto", + "recordFolder": "", + "recordFps": 0, + "reminderSound": true, + "shellGap": 0, + "shotFolder": "", + "shotLoupe": true, + "shotOcrLang": "eng+rus", + "shotPreview": "preview", + "shotPreviewSeconds": 6, + "shotRoundWindows": true, + "shotSaveFile": true, + "showClock": true, + "showKbLayout": true, + "showMedia": true, + "showNotifications": true, + "showPower": true, + "showPrivacy": true, + "showStart": true, + "showSystem": true, + "showTray": true, + "showWindow": true, + "showWorkspaces": true, + "soundOnBattery": true, + "soundOnBluetooth": true, + "soundOnBrightness": true, + "soundOnCamera": true, + "soundOnCaps": true, + "soundOnCapture": true, + "soundOnCharger": true, + "soundOnMic": true, + "soundOnUsb": true, + "soundOnVolume": true, + "specialBlur": false, + "specialComms": true, + "specialCommsApps": "auto", + "specialCustom": "[]", + "specialDim": 0.2, + "specialGaps": 0, + "specialHideOnSwitch": false, + "specialKeepApps": true, + "specialMusic": true, + "specialMusicApps": "auto", + "specialScratchpad": true, + "specialSysmon": true, + "specialSysmonApps": "auto", + "specialTodo": true, + "specialTodoApps": "auto", + "startModuleStyle": "distro", + "startupApps": "[]", + "startupEnv": "[]", + "startupXdg": false, + "storageLowPercent": 10, + "storageLowWarn": true, + "storageTrashDays": 0, + "surfaceDarkness": -1, + "surfaceTint": -1, + "sysSoundVolume": 0.6, + "sysSounds": true, + "systemTiles": "dnd,awake,dark,airplane,location,mic,capture,record,picker,keyboard,timer,session,gamemode", + "themeColour": "#6750a4", + "themeOrder": "", + "timeZoneAuto": true, + "timerSound": true, + "toastBodyLines": 4, + "toastCriticalSticky": true, + "toastEnabled": true, + "toastMaxVisible": 3, + "toastOnAudio": true, + "toastOnBattery": true, + "toastOnBluetooth": true, + "toastOnCamera": true, + "toastOnDisplays": true, + "toastOnGameMode": true, + "toastOnLayout": true, + "toastOnPower": true, + "toastOnUsb": true, + "toastOnWifi": true, + "toastShowActions": true, + "toastShowBody": true, + "toastTimeout": 5, + "toastUseAppTimeout": true, + "trayHidden": "", + "trayIconColor": "original", + "trayStyle": "collapsed", + "uiScale": 1.1, + "units": "metric", + "updateBeta": false, + "updateCheck": true, + "urgentBadge": "top-left", + "urgentPulse": true, + "wallTransAngle": 45, + "wallTransBezier": ".54,0,.34,.99", + "wallTransCustomPresets": "", + "wallTransDuration": 1, + "wallTransOrigin": "center", + "wallTransPreset": "soft", + "wallTransType": "fade", + "wallTransWave": "20,20", + "wallpaperBentoHero": "medium", + "wallpaperBentoPrev": true, + "wallpaperFolder": "/home/sweetbread/Wallpapers", + "wallpaperPickerKeys": "sides", + "wallpaperPickerStyle": "strip", + "wallpaperPillsShape": "uniform", + "wallpaperStripSides": 2, + "wallpaperStripSteps": "normal", + "wallpaperTilesAspect": "square", + "wallpaperTilesRows": 2, + "weekStartMonday": true, + "widgetHideFullscreen": true, + "widgetLockAll": false, + "widgetOnTop": false, + "widgetSnap": true, + "widgetsEnabled": true, + "windowModuleMiddleClose": false, + "windowModuleScroll": true, + "windowModuleText": "title", + "windowModuleWidth": 260, + "workspacesByDisplay": true, + "workspacesShown": 1, + "workspacesStyle": "numbers", + "workspacesWheel": true } diff --git a/user/sweetbread/modules/lucid.nix b/user/sweetbread/modules/lucid.nix index 0bb53a9..3a94050 100644 --- a/user/sweetbread/modules/lucid.nix +++ b/user/sweetbread/modules/lucid.nix @@ -12,13 +12,6 @@ let ]; nonConeMode = true; }; - wallpapers = pkgs.fetchgit { - url = "https://github.com/Sn3akyy1/lucid.git"; - rev = "bdd7f79da18efd837f79dcecbe5d2ec178abc10c"; - hash = "sha256-rXEYlr2bSe6EP6vxyayK7iXHk+Mmqs7duiE0pweIozI="; - sparseCheckout = [ "/wallpapers/catppuccin-mocha/*" ]; - nonConeMode = true; - }; wallpaperDir = "${config.home.homeDirectory}/Wallpapers"; wallpaperScript = "${config.home.homeDirectory}/.config/hypr/scripts/wallpaper/set-wallpaper.sh"; widgetLayout = if osConfig.networking.hostName == "Rias" @@ -115,6 +108,10 @@ PY selected="$saved" fi fi + if [ ! -f "$selected" ]; then + echo "Lucid startup wallpaper not found; leaving the current wallpaper unchanged" >&2 + exit 0 + fi exec "${wallpaperScript}" "$selected" ''; in { @@ -177,8 +174,6 @@ in { $DRY_RUN_CMD install -m644 ${../../../modules/user/WidgetLayer.qml} "$target/lucidwidgets/WidgetLayer.qml" $DRY_RUN_CMD mkdir -p "${wallpaperDir}" \ "${config.home.homeDirectory}/.config/hypr/scripts/wallpaper" - $DRY_RUN_CMD ${pkgs.rsync}/bin/rsync -rltp --chmod=Du+rwx,Fu+rw --ignore-existing \ - "${wallpapers}/wallpapers/catppuccin-mocha/" "${wallpaperDir}/" $DRY_RUN_CMD install -m755 "${source}/support/wallpaper/set-wallpaper.sh" \ "${wallpaperScript}"