fixup! Mikufrost on Impreza

This commit is contained in:
Chest committed 2026-11-05 21:14:34 +01:00
1 parent 3b4329833a
commit e6882faad7
7 files changed
+545 -1

No files matched your search

+41
View File
@@ -708,6 +708,47 @@ in {
fi
done
${lib.optionalString (isChest && host == "Impreza") ''
# Import Eclipse's appearance once. Keep later Lucid edits and back up
# existing laptop settings before changing them; monitor state is untouched.
appearance_marker="$lucid_dir/impreza-appearance-v1"
if [ -z "''${DRY_RUN_CMD:-}" ] && [ ! -e "$appearance_marker" ]; then
mkdir -p "${config.home.homeDirectory}/.cache" "${config.home.homeDirectory}/.config/hypr"
prefs="$target/lucidprefs/prefs.json"
prefs_tmp=$(${pkgs.coreutils}/bin/mktemp "$prefs.XXXXXX")
if ${pkgs.jq}/bin/jq --slurpfile appearance ${./lucid-prefs-impreza.json} \
'. + $appearance[0]' "$prefs" > "$prefs_tmp"; then
cp --backup=numbered "$prefs" "$prefs.before-impreza-appearance"
chmod 644 "$prefs_tmp"
mv "$prefs_tmp" "$prefs"
else
rm -f "$prefs_tmp"
exit 1
fi
for pair in \
'${./lucid-widgets-impreza.json} lucidwidgets/widgets.json' \
'${./lucid-pinned-impreza.json} luciddocks/pinned.json'; do
set -- $pair
[ ! -e "$target/$2" ] || cp --backup=numbered "$target/$2" "$target/$2.before-impreza-appearance"
install -m644 "$1" "$target/$2"
done
for pair in \
'${./lucid-settings-impreza.lua} lucid-settings.lua' \
'${./lucid-glass-impreza.lua} lucid-glass.lua'; do
set -- $pair
file="${config.home.homeDirectory}/.config/hypr/$2"
[ ! -e "$file" ] || cp --backup=numbered "$file" "$file.before-impreza-appearance"
install -m644 "$1" "$file"
done
if [ -e "${config.home.homeDirectory}/.cache/current_theme" ]; then
cp --backup=numbered "${config.home.homeDirectory}/.cache/current_theme" \
"${config.home.homeDirectory}/.cache/current_theme.before-impreza-appearance"
fi
install -m644 ${themeName} "${config.home.homeDirectory}/.cache/current_theme"
touch "$appearance_marker"
fi
''}
$DRY_RUN_CMD mkdir -p "${config.home.homeDirectory}/.config/lucid/themes/stylix" \
"${config.home.homeDirectory}/.cache/quickshell"
$DRY_RUN_CMD install -m644 ${paletteFile} \
@@ -0,0 +1,8 @@
-- written by Lucid Settings > Glass, and rewritten on every change there
return {
apps = {
{ name = "VSCodium", class = { "codium", "vscodium" }, opacity = 0.90 },
{ name = "Obsidian", class = { "obsidian" }, opacity = 0.88 },
{ name = "Files", class = { "org.gnome.nautilus", "nautilus" }, opacity = 0.80 },
},
}
@@ -0,0 +1,3 @@
{
"pinnedApps": []
}
+337
View File
@@ -0,0 +1,337 @@
{
"accentPunch": 1.05,
"audioCombine": "",
"audioMeters": true,
"audioMoveStreams": true,
"autoColorMode": false,
"barAutoHide": false,
"barEnabled": true,
"barFullCorner": 18,
"barHeight": 40,
"barHoverGrow": 3,
"barHoverOpen": false,
"barJoinDividers": true,
"barJoins": "[\"workspaces+tray\"]",
"barLayout": "{\"left\":[\"start\",\"workspaces\",\"tray\",\"media\"],\"center\":[\"clock\"],\"right\":[\"window\",\"notifications\",\"system\",\"privacy\",\"power\"]}",
"barMotionScale": 1.2000000000000002,
"barNotchFlare": 20,
"barPopupGap": 10,
"barPopupMode": false,
"barPopupNotched": false,
"barSideMargin": 0,
"barSpacing": 11,
"barStyle": "notch",
"barTopMargin": 22,
"barZoneGap": 28,
"btAgent": true,
"btReceive": true,
"btReceiveAutoPaired": false,
"btScanOnOpen": true,
"btShowUnnamed": false,
"clipboardEnabled": true,
"clock24h": true,
"clockDateFormat": "long",
"clockShowDate": true,
"clockShowSeconds": true,
"clockShowTimer": true,
"clockShowWeather": true,
"clockStyle": "accent",
"clockWorldZones": "Europe/Berlin,Europe/Moscow,America/New_York",
"cornerScale": 0.5,
"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": 37,
"dockIconTiles": true,
"dockMagnify": false,
"dockNotchFlare": 25,
"dockRadius": 40,
"dockShowIndicators": true,
"dockShowRunning": true,
"dockShowTooltips": true,
"dockSpacing": 10,
"dockSplitGap": 8,
"dockStyle": "notch",
"envAdopted": true,
"envAppFont": "DejaVu Sans",
"envAppFontSize": 13,
"envApplyGtk": true,
"envApplyHypr": true,
"envApplyQt": true,
"envColorScheme": "auto",
"envCursorShadow": true,
"envCursorSize": 16,
"envCursorTheme": "Miku",
"envDocumentFont": "DejaVu Sans",
"envDocumentFontSize": 13,
"envFontSync": false,
"envGtkTheme": "adw-gtk3",
"envIconSet": "gravity",
"envIconTheme": "Pop-Dark",
"envLegacyIcons": false,
"envMonoFont": "JetBrains Mono",
"envMonoFontSize": 13,
"envQtPlatformTheme": "",
"envQtStyle": "kvantum",
"fontFamily": "DejaVu Sans",
"fontScale": 1,
"gameModeOffCmd": "",
"gameModeOnCmd": "",
"gameModeStatusCmd": "",
"glassApps": "vscodium,obsidian,nautilus",
"glassValues": "nautilus=0.8,vscodium=0.9",
"gpsEnabled": false,
"hiddenThemes": "",
"hyprOptions": "{\"general.border_size\":1,\"general.gaps_in\":2,\"decoration.dim_strength\":0.55,\"dwindle.split_width_multiplier\":1.1}",
"idleAdopted": false,
"idleAutostart": true,
"idleDim": true,
"idleDimAfter": 120,
"idleDimKeyboard": true,
"idleDimLevel": 10,
"idleEnabled": false,
"idleKeepAwake": false,
"idleLock": false,
"idleLockAfter": 600,
"idleLockBeforeSleep": false,
"idleRespectInhibitors": true,
"idleScreenOff": true,
"idleScreenOffAfter": 900,
"idleSuspend": false,
"idleSuspendAfter": 1800,
"idleSuspendOnAc": false,
"idleWakeAfterSleep": true,
"idleWhileMedia": true,
"jellyAmount": 0.75,
"jellyMotion": true,
"kdeConnectEnabled": true,
"launcherActionHints": true,
"launcherAddressFirst": true,
"launcherAppActions": true,
"launcherAppDescriptions": false,
"launcherCalculator": true,
"launcherContentScale": 0.8,
"launcherDensity": "comfortable",
"launcherFrequentFirst": true,
"launcherHiddenApps": "",
"launcherModeBar": true,
"launcherPowerButtons": "suspend,reboot,shutdown",
"launcherPowerChips": true,
"launcherPowerSearch": true,
"launcherSearchEngine": "google",
"launcherSearchPosition": "bottom",
"launcherSettingsResults": true,
"launcherWebRow": true,
"launcherWidth": "standard",
"launcherWindows": true,
"liveGameMode": "pause",
"livePauseUnder": "fullscreen",
"liveWallpapers": false,
"locationLabel": "",
"locationLat": 52.4083,
"locationLon": 16.9336,
"locationName": "",
"locationTz": "",
"matugenContrast": 0,
"matugenScheme": "scheme-tonal-spot",
"matugenSourceImage": "",
"matugenSourceIndex": 0,
"mediaArtist": true,
"mediaHideIdle": true,
"mediaPanelStyle": "side",
"mediaPlayButton": true,
"mediaStyle": "disc",
"mediaTitleWidth": 210,
"mediaWheelVolume": true,
"motionScale": 1,
"nightLight": false,
"nightLightFrom": 1260,
"nightLightSchedule": "off",
"nightLightTemp": 4600,
"nightLightTo": 420,
"notifGrouping": true,
"notifInlineReply": true,
"notifMaxHistory": 50,
"notifMutedApps": "",
"notifProgress": true,
"notifSeenApps": "",
"notifShowIcons": true,
"notifSound": false,
"notifSoundName": "glint",
"notifSoundUrgentOnly": false,
"notifSoundVolume": 0.6,
"notifTimestamps": true,
"notificationsStyle": "badge",
"osdCapsLock": true,
"osdNumLock": true,
"pinBadge": "top-right",
"pinBorder": "gradient",
"pinPulse": true,
"pomodoroAutoFocus": true,
"pomodoroAutoStart": true,
"pomodoroFocus": 25,
"pomodoroGoal": 0,
"pomodoroLong": 15,
"pomodoroRepeat": true,
"pomodoroRounds": 4,
"pomodoroShort": 5,
"pomodoroSilence": false,
"powerModuleActions": "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",
"recordFps": 0,
"reminderSound": true,
"shellGap": 5,
"shotLoupe": true,
"shotOcrLang": "eng+rus",
"shotPreview": "preview",
"shotPreviewSeconds": 6,
"shotRoundWindows": true,
"shotSaveFile": false,
"showClock": true,
"showKbLayout": true,
"showMedia": true,
"showNotifications": true,
"showPower": false,
"showPrivacy": false,
"showStart": false,
"showSystem": true,
"showTray": true,
"showWindow": false,
"showWorkspaces": true,
"soundOnBattery": true,
"soundOnBluetooth": true,
"soundOnBrightness": true,
"soundOnCamera": true,
"soundOnCaps": true,
"soundOnCapture": true,
"soundOnCharger": true,
"soundOnMic": true,
"soundOnUsb": true,
"soundOnVolume": true,
"specialBlur": true,
"specialComms": true,
"specialCommsApps": "vesktop,entry:com.ayugram.desktop",
"specialCustom": "[{\"key\":\"daemons\",\"label\":\"Daemons\",\"glyph\":\"build\",\"on\":true,\"apps\":\"\"}]",
"specialDim": 0.2,
"specialGaps": 0,
"specialHideOnSwitch": false,
"specialKeepApps": true,
"specialMusic": true,
"specialMusicApps": "auto",
"specialScratchpad": true,
"specialSysmon": true,
"specialSysmonApps": "auto",
"specialTodo": true,
"specialTodoApps": "auto",
"startModuleStyle": "logo",
"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",
"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.05,
"units": "metric",
"updateBeta": false,
"updateCheck": true,
"urgentBadge": "bottom-right",
"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,
"wallpaperPickerKeys": "sides",
"wallpaperPickerStyle": "bento",
"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": false
}
@@ -0,0 +1,10 @@
-- written by Lucid Settings > Windows and Input, and rewritten on every change there
return {
pinned = { border = "rgba(69dcc7ff) rgba(69dcc7ff)", focused = "rgba(69dcc7ff) rgba(43d6cdff) 45deg", size = 2 },
options = {
["decoration.dim_strength"] = 0.55,
["dwindle.split_width_multiplier"] = 1.1,
["general.border_size"] = 1,
["general.gaps_in"] = 2,
},
}
@@ -0,0 +1,145 @@
{
"nextId": 11,
"boardFull": true,
"laidScale": 1.05,
"preset": "",
"saved": [],
"last": [],
"stash": [],
"instances": [
{
"uid": "w1",
"type": "system",
"variant": "compact",
"wx": 42,
"wy": 773,
"bw": 300,
"bh": 80,
"pinned": false,
"zoom": 1,
"zOrder": 46,
"screenName": "",
"opts": {
"showCpu": true,
"showRam": true,
"showDisk": true,
"showTemp": false,
"showGpu": false,
"interval": "2",
"tone": "auto"
}
},
{
"uid": "w2",
"type": "media",
"variant": "card",
"wx": 2218,
"wy": 137,
"bw": 288,
"bh": 435,
"pinned": false,
"zoom": 1,
"zOrder": 52,
"screenName": "",
"opts": {
"artTint": true,
"showProgress": true,
"scroll": true,
"tone": "auto"
}
},
{
"uid": "w3",
"type": "weather",
"variant": "forecast",
"wx": 32,
"wy": 137,
"bw": 320,
"bh": 232,
"pinned": false,
"zoom": 1,
"zOrder": 49,
"screenName": "",
"opts": {
"tone": "surface"
}
},
{
"uid": "w4",
"type": "kdeconnect",
"variant": "remote",
"wx": 2211,
"wy": 927,
"bw": 300,
"bh": 214,
"pinned": false,
"zoom": 1,
"zOrder": 51,
"screenName": "",
"opts": {
"showShare": true,
"showRing": true,
"showClipboard": true,
"showBrowse": true,
"deviceId": "",
"tone": "auto"
}
},
{
"uid": "w8",
"type": "photo",
"variant": "frame",
"wx": 56,
"wy": 443,
"bw": 300,
"bh": 220,
"pinned": false,
"zoom": 1,
"zOrder": 48,
"screenName": "",
"opts": {
"source": "pictures",
"every": "60",
"shape": "circle",
"showDate": false,
"tone": "auto"
}
},
{
"uid": "w9",
"type": "photo",
"variant": "shape",
"wx": 2253,
"wy": 640,
"bw": 220,
"bh": 220,
"pinned": false,
"zoom": 1,
"zOrder": 53,
"screenName": "",
"opts": {
"source": "pictures",
"every": "15",
"shape": "cookie12",
"showDate": true,
"tone": "auto"
}
},
{
"uid": "w10",
"type": "fetch",
"variant": "card",
"wx": 26,
"wy": 927,
"bw": 330,
"bh": 344,
"pinned": false,
"zoom": 1,
"zOrder": 47,
"screenName": "",
"opts": {
"tone": "auto"
}
}
]
}
+1 -1
View File
@@ -1,5 +1,5 @@
{ pkgs, config, lib, osConfig, inputs, ... }: let
mikuFrost = osConfig.networking.hostName == "Eclipse";
mikuFrost = builtins.elem osConfig.networking.hostName [ "Eclipse" "Impreza" ];
colors = config.lib.stylix.colors.withHashtag;
accent = colors.${config.stylix.accent};
# Render the same Stylix templates, changing only native translucency and accent.