From 0ae77148b8afb3e1752a2d99f54c6c83e7a978a9 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Thu, 5 Nov 2026 18:39:46 +0300 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Install lucid --- modules/user/lucid/lucid-prefs.json | 2 +- modules/user/lucid/lucid-shell.qml | 4 ++++ user/sweetbread/modules/lucid.nix | 30 +++++++++++++++++++++++++++-- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/modules/user/lucid/lucid-prefs.json b/modules/user/lucid/lucid-prefs.json index 36f1371..c0c9a46 100644 --- a/modules/user/lucid/lucid-prefs.json +++ b/modules/user/lucid/lucid-prefs.json @@ -144,7 +144,7 @@ "launcherPowerButtons": "lock,suspend,reboot,shutdown", "launcherPowerChips": false, "launcherPowerSearch": true, - "launcherSearchEngine": "duckduckgo", + "launcherSearchEngine": "lair", "launcherSearchPosition": "bottom", "launcherSettingsResults": true, "launcherWebRow": true, diff --git a/modules/user/lucid/lucid-shell.qml b/modules/user/lucid/lucid-shell.qml index 8f52165..f05bb7b 100644 --- a/modules/user/lucid/lucid-shell.qml +++ b/modules/user/lucid/lucid-shell.qml @@ -1,5 +1,6 @@ import "./luciddocks" import "./lucidedit" +import "./lucidlock" import "./lucidosd" import "./lucidprefs" import "./lucidshot" @@ -127,6 +128,9 @@ ShellRoot { WidgetIpc { } + Lock { + } + EditLayer { } diff --git a/user/sweetbread/modules/lucid.nix b/user/sweetbread/modules/lucid.nix index 621e9a0..5e28a88 100644 --- a/user/sweetbread/modules/lucid.nix +++ b/user/sweetbread/modules/lucid.nix @@ -15,7 +15,8 @@ let ]; nonConeMode = true; }; - patches = [ (pkgs.writeText "lucid-scratchpad-target.patch" '' + patches = [ + (pkgs.writeText "lucid-scratchpad-target.patch" '' diff --git a/support/hypr/modules/specials.lua b/support/hypr/modules/specials.lua --- a/support/hypr/modules/specials.lua +++ b/support/hypr/modules/specials.lua @@ -34,7 +35,32 @@ let + end end end - '') ]; + '') + (pkgs.writeText "lucid-lair-search.patch" '' + --- a/luciddocks/Dock.qml + +++ b/luciddocks/Dock.qml + @@ -683,4 +683,8 @@ + readonly property var searchEngines: ({ + + "lair": { + + "name": "Lair", + + "url": "https://s.lair.moe/web?s=" + + }, + "duckduckgo": { + "name": "DuckDuckGo", + "url": "https://duckduckgo.com/?q=" + --- a/lucidprefs/LauncherPage.qml + +++ b/lucidprefs/LauncherPage.qml + @@ -386,5 +386,8 @@ + current: Prefs.launcherSearchEngine + options: [{ + + "key": "lair", + + "label": "Lair" + + }, { + "key": "duckduckgo", + "label": "DuckDuckGo" + }, { + '') + ]; }; wallpaperDir = "${config.home.homeDirectory}/Wallpapers"; wallpaperScript = "${config.home.homeDirectory}/.config/hypr/scripts/wallpaper/set-wallpaper.sh";