From 8347e6e51f227eddba76c12aa3b5f7de4dd8ae86 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Tue, 3 Nov 2026 19:04:08 +0300 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Install lucid --- modules/user.nix | 2 - modules/user/lucid-shell.qml | 3 + modules/user/lucid-widgets-rias.json | 350 +++++++++++++++++++++++++++ user/chest/home.nix | 1 + user/sweetbread/home.nix | 5 +- user/sweetbread/modules/lucid.nix | 5 +- 6 files changed, 362 insertions(+), 4 deletions(-) create mode 100644 modules/user/lucid-widgets-rias.json diff --git a/modules/user.nix b/modules/user.nix index aea79dc..a582e8f 100644 --- a/modules/user.nix +++ b/modules/user.nix @@ -5,7 +5,6 @@ ./user/helix.nix ./user/hyprland.nix ./user/hyprlock.nix - ../user/sweetbread/modules/lucid.nix ./user/mako.nix ./user/neofetch.nix ./user/qt.nix @@ -14,7 +13,6 @@ ./user/sops.nix ./user/ssh.nix ./user/walker.nix - ./user/wob.nix ./user/yazi.nix ./user/zsh.nix diff --git a/modules/user/lucid-shell.qml b/modules/user/lucid-shell.qml index b3508c5..1f59d5e 100644 --- a/modules/user/lucid-shell.qml +++ b/modules/user/lucid-shell.qml @@ -107,6 +107,9 @@ ShellRoot { id: toastMod } + Osd { + } + ToastEvents { toast: toastMod } diff --git a/modules/user/lucid-widgets-rias.json b/modules/user/lucid-widgets-rias.json new file mode 100644 index 0000000..c83b699 --- /dev/null +++ b/modules/user/lucid-widgets-rias.json @@ -0,0 +1,350 @@ +{ + "nextId": 31, + "boardFull": true, + "laidScale": 1.1, + "preset": "", + "saved": [ + { + "id": "user-mvzmbsn0", + "name": "Mine", + "refW": 3440, + "refH": 1440, + "refScale": 1.1, + "saved": 1793656367208, + "cards": [ + { + "uid": "w1", + "type": "clock", + "variant": "poster", + "at": "tr", + "x": 3122, + "y": 93, + "w": 216, + "h": 272, + "zoom": 1.25, + "stretch": false, + "pinned": false, + "opts": { + "hourMode": "auto", + "seconds": false, + "dot": true, + "showDate": true, + "shape": "cookie9", + "zones": "eu", + "tone": "auto" + } + }, + { + "uid": "w2", + "type": "system", + "variant": "tiles", + "at": "bl", + "x": 20, + "y": 1057, + "w": 280, + "h": 220, + "zoom": 1.5, + "stretch": false, + "pinned": false, + "opts": { + "showCpu": true, + "showRam": true, + "showDisk": true, + "showTemp": true, + "showGpu": false, + "interval": "5", + "tone": "auto" + } + }, + { + "uid": "w3", + "type": "progress", + "variant": "dots", + "at": "tr", + "x": 3007, + "y": 483, + "w": 300, + "h": 212, + "zoom": 1.25, + "stretch": false, + "pinned": false, + "opts": { + "span": "day", + "tone": "auto" + } + }, + { + "uid": "w4", + "type": "network", + "variant": "graph", + "at": "bl", + "x": 20, + "y": 836, + "w": 308, + "h": 186, + "zoom": 1, + "stretch": false, + "pinned": false, + "opts": { + "units": "bytes", + "showAddress": true, + "interval": "1", + "tone": "auto" + } + }, + { + "uid": "w5", + "type": "media", + "variant": "card", + "at": "tl", + "x": 20, + "y": 93, + "w": 288, + "h": 435, + "zoom": 1, + "stretch": false, + "pinned": false, + "opts": { + "artTint": true, + "showProgress": true, + "scroll": true, + "tone": "auto" + } + }, + { + "uid": "w7", + "type": "games", + "variant": "list", + "at": "br", + "x": 2925, + "y": 958, + "w": 300, + "h": 280, + "zoom": 1.5, + "stretch": false, + "pinned": false, + "opts": { + "order": "recent", + "gameModeOnLaunch": false, + "tone": "auto" + } + }, + { + "uid": "w8", + "type": "kdeconnect", + "variant": "remote", + "at": "tr", + "x": 2713, + "y": 93, + "w": 300, + "h": 214, + "zoom": 1, + "stretch": false, + "pinned": false, + "opts": { + "showShare": true, + "showRing": true, + "showClipboard": true, + "showBrowse": true, + "deviceId": "", + "tone": "auto" + } + }, + { + "uid": "w9", + "type": "fetch", + "variant": "card", + "at": "tl", + "x": 375, + "y": 105, + "w": 330, + "h": 344, + "zoom": 1, + "stretch": false, + "pinned": false, + "opts": { + "tone": "auto" + } + } + ] + } + ], + "last": [], + "stash": [ + { + "uid": "w19", + "type": "notes", + "variant": "sticky", + "wx": 53, + "wy": 515, + "bw": 244, + "bh": 244, + "pinned": false, + "zoom": 1.33, + "zOrder": 66, + "screenName": "", + "opts": { + "tint": "tertiary", + "edited": 0, + "text": "", + "tone": "auto" + } + } + ], + "instances": [ + { + "uid": "w24", + "type": "clock", + "variant": "poster", + "wx": 3122, + "wy": 93, + "bw": 216, + "bh": 272, + "pinned": false, + "zoom": 1.25, + "zOrder": 80, + "screenName": "", + "opts": { + "hourMode": "auto", + "seconds": false, + "dot": true, + "showDate": true, + "shape": "cookie9", + "zones": "eu", + "tone": "auto" + } + }, + { + "uid": "w26", + "type": "progress", + "variant": "dots", + "wx": 3007, + "wy": 483, + "bw": 300, + "bh": 212, + "pinned": false, + "zoom": 1.25, + "zOrder": 82, + "screenName": "", + "opts": { + "span": "day", + "tone": "auto" + } + }, + { + "uid": "w2", + "type": "system", + "variant": "tiles", + "wx": 20, + "wy": 1057, + "bw": 280, + "bh": 220, + "pinned": false, + "zoom": 1.5, + "zOrder": 81, + "screenName": "", + "opts": { + "showCpu": true, + "showRam": true, + "showDisk": true, + "showTemp": true, + "showGpu": false, + "interval": "5", + "tone": "auto" + } + }, + { + "uid": "w4", + "type": "network", + "variant": "graph", + "wx": 20, + "wy": 836, + "bw": 308, + "bh": 186, + "pinned": false, + "zoom": 1, + "zOrder": 88, + "screenName": "", + "opts": { + "units": "bytes", + "showAddress": true, + "interval": "1", + "tone": "auto" + } + }, + { + "uid": "w5", + "type": "media", + "variant": "card", + "wx": 20, + "wy": 93, + "bw": 288, + "bh": 435, + "pinned": false, + "zoom": 1, + "zOrder": 89, + "screenName": "", + "opts": { + "artTint": true, + "showProgress": true, + "scroll": true, + "tone": "auto" + } + }, + { + "uid": "w7", + "type": "games", + "variant": "list", + "wx": 2925, + "wy": 958, + "bw": 300, + "bh": 280, + "pinned": false, + "zoom": 1.5, + "zOrder": 85, + "screenName": "", + "opts": { + "order": "recent", + "gameModeOnLaunch": false, + "tone": "auto" + } + }, + { + "uid": "w8", + "type": "kdeconnect", + "variant": "remote", + "wx": 2713, + "wy": 93, + "bw": 300, + "bh": 214, + "pinned": false, + "zoom": 1, + "zOrder": 86, + "screenName": "", + "opts": { + "showShare": true, + "showRing": true, + "showClipboard": true, + "showBrowse": true, + "deviceId": "", + "tone": "auto" + } + }, + { + "uid": "w9", + "type": "fetch", + "variant": "terminal", + "wx": 353, + "wy": 93, + "bw": 380, + "bh": 318, + "pinned": false, + "zoom": 1, + "zOrder": 90, + "screenName": "", + "opts": { + "tone": "auto" + } + } + ] +} \ No newline at end of file diff --git a/user/chest/home.nix b/user/chest/home.nix index e9ddda6..1734ce6 100644 --- a/user/chest/home.nix +++ b/user/chest/home.nix @@ -1,6 +1,7 @@ { pkgs, pkgs-pinned, host, ... }: { imports = [ ../../modules/user/packages/cs_utils.nix + ../../modules/user/wob.nix ]; disabledModules = [ ../../modules/user/packages/art.nix diff --git a/user/sweetbread/home.nix b/user/sweetbread/home.nix index bcc1eb4..eee1308 100644 --- a/user/sweetbread/home.nix +++ b/user/sweetbread/home.nix @@ -1,4 +1,7 @@ -{ pkgs, ... }: { +{ pkgs, lib, osConfig, ... }: { + imports = [ ./modules/lucid.nix ] + ++ lib.optional (osConfig.networking.hostName != "Rias") ../../modules/user/wob.nix; + programs.hyprlock.enable = true; home.packages = with pkgs; [ android-studio diff --git a/user/sweetbread/modules/lucid.nix b/user/sweetbread/modules/lucid.nix index 39ebed8..83b1b53 100644 --- a/user/sweetbread/modules/lucid.nix +++ b/user/sweetbread/modules/lucid.nix @@ -21,6 +21,9 @@ let }; wallpaperDir = "${config.home.homeDirectory}/Wallpapers"; wallpaperScript = "${config.home.homeDirectory}/.config/hypr/scripts/wallpaper/set-wallpaper.sh"; + widgetLayout = if osConfig.networking.hostName == "Rias" + then ../../../modules/user/lucid-widgets-rias.json + else ../../../modules/user/lucid-widgets.json; defaultWallpaper = "${wallpaperDir}/bluehour.jpg"; hyprLua = import ../../../modules/user/hyprland/lua.nix { inherit lib; }; colors = config.lib.stylix.colors.withHashtag; @@ -207,7 +210,7 @@ in { $DRY_RUN_CMD install -m644 ${../../../modules/user/lucid-pinned.json} "$target/luciddocks/pinned.json" fi if [ ! -e "$target/lucidwidgets/widgets.json" ]; then - $DRY_RUN_CMD install -m644 ${../../../modules/user/lucid-widgets.json} "$target/lucidwidgets/widgets.json" + $DRY_RUN_CMD install -m644 ${widgetLayout} "$target/lucidwidgets/widgets.json" fi for pair in \