Commit Graph

11 Commits

Author SHA1 Message Date
Henry Sipp 7d7a7a9f11 Update generated theme config (#7)
* Update theme system

* Fixes
2025-07-28 10:18:22 -05:00
Ben Ford b51d8f632b Add custom theme support with wallpaper-based color extraction (#6)
* Add custom theme support with wallpaper-based color extraction

- Extended theme option to accept "custom" value
- Added customTheme configuration with wallpaperPath and variant options
- Integrated nix-colors colorSchemeFromPicture for dynamic color generation
- Updated wallpaper selection to handle custom paths
- Added VSCode theme fallback for custom color schemes
- Fixed nix-colors contrib function call (requires pkgs argument)
- Maintains full backward compatibility with existing themes

Users can now generate themes from their own wallpapers:
  omarchy = {
    theme = "custom";
    customTheme = {
      wallpaperPath = ./wallpapers/my-image.png;
      variant = "dark"; # or "light"
    };
  };

* Fix: Screen sharing broken due to Qt library version mismatch

  File changed: modules/nixos/hyprland.nix

  Problem:
  The omarchy-nix configuration was using xdg-desktop-portal-hyprland from the hyprland flake input, which had a Qt library version mismatch (6.9.1 vs 6.9.0). This caused the
   hyprland-share-picker to crash with "Cannot mix incompatible Qt library" errors, preventing screen sharing from working.

  Solution:
  Changed the portalPackage from the hyprland flake version to the stable nixpkgs version:

  - portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
  + portalPackage = pkgs.xdg-desktop-portal-hyprland; # Use stable nixpkgs version to fix Qt version mismatch

  Why this works:
  - The stable nixpkgs version of xdg-desktop-portal-hyprland has consistent Qt library versions
  - This matches the working configuration used on other NixOS Hyprland setups
  - Maintains all screen sharing functionality while avoiding the Qt version conflict
2025-07-28 08:57:58 -05:00
Henry Sipp e22477bb58 Add exclude_packages to allow modifying default install 2025-07-24 20:42:02 -05:00
Henry Sipp b281a3eb6f Fix nautilus dark mode 2025-07-23 22:43:34 -05:00
Henry Sipp 1fed2b5d59 Refactor for wallpers, keybinds, add weeb tokyo-light theme 2025-07-22 21:08:27 -05:00
Henry Sipp e2d116c28a Neovim and youtube 2025-07-11 20:00:35 -05:00
Henry Sipp d29aed71f8 Upstream updates for keybinds 2025-07-08 21:02:00 -05:00
Henry Sipp c818f6cada Update themes, make ghostty the default 2025-07-02 15:24:53 -05:00
Henry Sipp 2ccb0d7113 Update themes to use nix-colors base16 2025-07-01 22:15:24 -05:00
Henry Sipp 57180d80bb Hyprlock & idle 2025-06-28 13:40:05 -05:00
Henry Sipp 5d3d3d6037 Initial commit 2025-06-28 12:27:26 -05:00