diff options
| author | triethyl <triethylammonium@pm.me> | 2026-01-12 20:33:14 -0500 |
|---|---|---|
| committer | triethyl <triethylammonium@pm.me> | 2026-01-12 20:33:14 -0500 |
| commit | d1421fcf87590cf022f453ea582c51c07678cd55 (patch) | |
| tree | c8ed83321eed8d54188c6eb0af383f5b5e6d04a1 /home-manager/features/gui/desktops/niri/parts/scrap-maker.nix | |
| parent | 12e152e6011bad1288df5fab822fb14873c49fcc (diff) | |
niri: added new monitor, night mode, and made desktop fade in on startup
Diffstat (limited to 'home-manager/features/gui/desktops/niri/parts/scrap-maker.nix')
| -rw-r--r-- | home-manager/features/gui/desktops/niri/parts/scrap-maker.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/home-manager/features/gui/desktops/niri/parts/scrap-maker.nix b/home-manager/features/gui/desktops/niri/parts/scrap-maker.nix deleted file mode 100644 index 19cce56..0000000 --- a/home-manager/features/gui/desktops/niri/parts/scrap-maker.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: let - cfg = config.features.gui.desktops.niri.parts.scrap-maker; - - scrapDirectory = "~/Sync/vault/scraps"; -in { - options.features.gui.desktops.niri.parts.scrap-maker.enable = lib.mkEnableOption "scrap maker"; - config = lib.mkIf cfg.enable { - home.packages = [ - (pkgs.writers.writeNuBin "scrap-maker" '' - let scrap_text = fuzzel -d -l 0 -p "" -x 8 -y 8 -w 40 - let scrap_name = date now | format date "%s" - let scrap_path = ("${scrapDirectory}" + "/" + $scrap_name + ".md") | path expand - $scrap_text | save $scrap_path - '') - ]; - }; -} |
