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, programs.bat = {
lib,
device,
...
}: {
programs.
bat = {
enable = true; enable = true;
# extraPackages = with pkgs.bat-extras; [batman batgrep batwatch]; # extraPackages = with pkgs.bat-extras; [batman batgrep batwatch];
}; };

View File

@@ -8,10 +8,10 @@
./aichat.nix ./aichat.nix
./atuin.nix ./atuin.nix
./bat.nix ./bat.nix
# ./bluetui.nix
./carapace.nix ./carapace.nix
./ddcbacklight.nix ./ddcbacklight.nix
./direnv.nix ./direnv.nix
./eilmeldung.nix
./eza.nix ./eza.nix
./fastfetch.nix ./fastfetch.nix
./fish.nix ./fish.nix
@@ -19,42 +19,43 @@
./gh.nix ./gh.nix
./git.nix ./git.nix
./himalaya.nix ./himalaya.nix
# ./mpd.nix ./hyprshade.nix
./ncpamixer.nix ./ncpamixer.nix
./neomutt.nix ./neomutt.nix
./neovim.nix ./neovim.nix
# ./nh.nix
./nix-index.nix ./nix-index.nix
./nushell.nix ./nushell.nix
# ./omnix.nix
./opencode.nix ./opencode.nix
# ./retroarch.nix
./rustup.nix ./rustup.nix
# ./ryujinx.nix
./sops.nix ./sops.nix
./ssh.nix ./ssh.nix
./starship.nix ./starship.nix
# ./sxiv.nix
# ./tea.nix
./television.nix ./television.nix
./tmux.nix ./tmux.nix
# ./tuifeed.nix
./uv.nix ./uv.nix
# ./xh.nix
./yazi.nix ./yazi.nix
./yt-dlp.nix ./yt-dlp.nix
./zoxide.nix ./zoxide.nix
./eilmeldung.nix
# ./bluetui.nix
# ./goread.nix # ./goread.nix
# ./helix.nix # ./helix.nix
# ./magika.nix # ./magika.nix
# ./mpd.nix
# ./mpris-scrobbler.nix # ./mpris-scrobbler.nix
# ./ncmpcpp.nix # ./ncmpcpp.nix
# ./neomutt.nix # ./neomutt.nix
# ./neovim.nix # ./neovim.nix
# ./newsboat.nix # ./newsboat.nix
# ./nh.nix
# ./omnix.nix
# ./retroarch.nix
# ./ryujinx.nix
# ./sxiv.nix
# ./tea.nix
# ./template.nix # ./template.nix
# ./tuifeed.nix
# ./xh.nix
# ./zellij.nix # ./zellij.nix
]; ];
home.packages = with pkgs; 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 = { settings = {
# source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf"; # source = "${pkgs.catppuccinThemes.hyprland}/themes/mocha.conf";
render = { render = {
direct_scanout = true; cm_enabled = true;
cm_fs_passthrough = 1; direct_scanout = 1; # 0 - off; 1 - on; 2 - auto based on `game`
cm_auto_hdr = 1; cm_fs_passthrough = 1; # 0 - off; 1 - always; 2 - hdr only
}; send_content_type = true; # automatic monitor mode switch
experimental = { cm_auto_hdr = 1; # 0 - off; 1 - switch to cm,hdr 2; 2 - switch to cm,hdredid
xx_color_management_v4 = true;
}; };
# experimental = {
# xx_color_management_v4 = true;
# };
monitorv2 = [ monitorv2 = [
{ {
output = device.monitors.primary; output = device.monitors.primary;

View File

@@ -330,9 +330,20 @@ in {
settings.image_provider = "image.nvim"; settings.image_provider = "image.nvim";
}; };
markdown-preview = { # markdown-preview = {
enable = true; # 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 = { noice = {
enable = true; enable = true;

View File

@@ -47,36 +47,3 @@ in [
vimPlugins vimPlugins
tree-sitter-grammars 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