feat: Added hyprshade

This commit is contained in:
uttarayan21
2026-01-06 15:26:12 +05:30
parent 99b4fb3ad1
commit 5d48a7ed38
7 changed files with 3446 additions and 61 deletions

View File

@@ -1,11 +1,5 @@
{
pkgs,
lib,
device,
...
}: {
programs.
bat = {
{...}: {
programs.bat = {
enable = true;
# extraPackages = with pkgs.bat-extras; [batman batgrep batwatch];
};

View File

@@ -8,10 +8,10 @@
./aichat.nix
./atuin.nix
./bat.nix
# ./bluetui.nix
./carapace.nix
./ddcbacklight.nix
./direnv.nix
./eilmeldung.nix
./eza.nix
./fastfetch.nix
./fish.nix
@@ -19,42 +19,43 @@
./gh.nix
./git.nix
./himalaya.nix
# ./mpd.nix
./hyprshade.nix
./ncpamixer.nix
./neomutt.nix
./neovim.nix
# ./nh.nix
./nix-index.nix
./nushell.nix
# ./omnix.nix
./opencode.nix
# ./retroarch.nix
./rustup.nix
# ./ryujinx.nix
./sops.nix
./ssh.nix
./starship.nix
# ./sxiv.nix
# ./tea.nix
./television.nix
./tmux.nix
# ./tuifeed.nix
./uv.nix
# ./xh.nix
./yazi.nix
./yt-dlp.nix
./zoxide.nix
./eilmeldung.nix
# ./bluetui.nix
# ./goread.nix
# ./helix.nix
# ./magika.nix
# ./mpd.nix
# ./mpris-scrobbler.nix
# ./ncmpcpp.nix
# ./neomutt.nix
# ./neovim.nix
# ./newsboat.nix
# ./nh.nix
# ./omnix.nix
# ./retroarch.nix
# ./ryujinx.nix
# ./sxiv.nix
# ./tea.nix
# ./template.nix
# ./tuifeed.nix
# ./xh.nix
# ./zellij.nix
];
home.packages = with pkgs;

View File

@@ -0,0 +1,10 @@
{
pkgs,
device,
...
}: {
home.packages = with pkgs;
lib.mkIf (device.is "ryu") [
hyprshade
];
}

View File

@@ -35,13 +35,15 @@
settings = {
# source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";
render = {
direct_scanout = true;
cm_fs_passthrough = 1;
cm_auto_hdr = 1;
};
experimental = {
xx_color_management_v4 = true;
cm_enabled = true;
direct_scanout = 1; # 0 - off; 1 - on; 2 - auto based on `game`
cm_fs_passthrough = 1; # 0 - off; 1 - always; 2 - hdr only
send_content_type = true; # automatic monitor mode switch
cm_auto_hdr = 1; # 0 - off; 1 - switch to cm,hdr 2; 2 - switch to cm,hdredid
};
# experimental = {
# xx_color_management_v4 = true;
# };
monitorv2 = [
{
output = device.monitors.primary;

View File

@@ -330,9 +330,20 @@ in {
settings.image_provider = "image.nvim";
};
markdown-preview = {
enable = true;
};
# markdown-preview = {
# enable = true;
# package = pkgs.vimUtils.buildVimPlugin {
# pname = "markdown-preview.nvim";
# version = "0.0.10-unstable-2026-1-4";
# src = pkgs.fetchFromGitHub {
# owner = "iamcco";
# repo = "markdown-preview.nvim";
# rev = "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee";
# hash = "sha256-TBXdG/Ih5DusAYZJyn37zVqHcMD85VkjrCoLyTo/KBg=";
# };
# patches = [../patches/markdown-preview.patch];
# };
# };
noice = {
enable = true;

View File

@@ -47,36 +47,3 @@ in [
vimPlugins
tree-sitter-grammars
]
# tree-sitter-grammars = final: prev: {
# tree-sitter-grammars =
# prev.tree-sitter-grammars
# // {
# # tree-sitter-just = final.pkgs.tree-sitter.buildGrammar {
# # language = "just";
# # version = "1";
# # src = inputs.tree-sitter-just;
# # };
# # tree-sitter-nu = final.pkgs.tree-sitter.buildGrammar {
# # language = "nu";
# # version = "1";
# # src = inputs.tree-sitter-nu;
# # };
# tree-sitter-d2 = final.pkgs.tree-sitter.buildGrammar {
# language = "d2";
# version = "1";
# src = inputs.tree-sitter-d2;
# };
# };
# };
# vimPlugins = final: prev: {
# vimPlugins =
# prev.vimPlugins
# // {
# d2 = final.pkgs.vimUtils.buildVimPlugin {
# name = "d2";
# version = "1";
# src = inputs.d2;
# };
# };
# };

File diff suppressed because one or more lines are too long