From fad7cd185978630927d46e56a9a1448755e39ad2 Mon Sep 17 00:00:00 2001 From: DACHXY Date: Mon, 3 Mar 2025 11:46:00 +0800 Subject: [PATCH] feat: add markdown2pdf --- home/config/nvim/lua/plugins/snacks.lua | 7 ++++++- home/user/packages.nix | 3 +++ home/user/shellAlias.nix | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/home/config/nvim/lua/plugins/snacks.lua b/home/config/nvim/lua/plugins/snacks.lua index 9cee9e6..ce3c569 100644 --- a/home/config/nvim/lua/plugins/snacks.lua +++ b/home/config/nvim/lua/plugins/snacks.lua @@ -5,7 +5,12 @@ return { explorer = { enabled = true, }, - image = { enabled = true }, + image = { + enabled = true, + math = { + enabled = true, + }, + }, picker = { enabled = true, sources = { diff --git a/home/user/packages.nix b/home/user/packages.nix index 98c50b0..c1d4378 100644 --- a/home/user/packages.nix +++ b/home/user/packages.nix @@ -42,6 +42,7 @@ in (python3.withPackages (python-pkgs: [ python-pkgs.pip python-pkgs.requests + python-pkgs.weasyprint ])) rustup pkgsCross.mingwW64.stdenv.cc @@ -51,6 +52,8 @@ in # Work stuff libreoffice-qt + pandoc + texliveSmall # Bluetooth blueberry diff --git a/home/user/shellAlias.nix b/home/user/shellAlias.nix index 12ca77d..5484552 100644 --- a/home/user/shellAlias.nix +++ b/home/user/shellAlias.nix @@ -12,6 +12,7 @@ # Hyprland hyprlog = "grep -v \"arranged\" $XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log | cat"; + saveEye = "pkill -f hyprsunset && hyprctl dispatch exec 'hyprsunset -t 3300'"; # Systemd Boot setWin = "sudo bootctl set-oneshot auto-windows";