Implemented custom system for creating and distributing color schemes based on wallpapers, and also cycling through wallpapers.

nixfmt'd the codebase
This commit is contained in:
2026-03-09 22:02:46 -04:00
parent 4308b8eb16
commit 8ee748a997
145 changed files with 2776 additions and 1125 deletions

View File

@@ -1,14 +1,19 @@
{ pkgs }:
pkgs.writeShellApplication {
name = "viconf";
runtimeInputs = with pkgs; [ coreutils fd ripgrep fzf ];
runtimeInputs = with pkgs; [
coreutils
fd
ripgrep
fzf
];
text = ''
open_file() {
file="$1"
if grep -Pq "[^\x00-\x7F]" "$file"; then
NIXD_FLAGS="--semantic-tokens=false" nvim "$file"
NIXD_FLAGS="--semantic-tokens=false" $EDITOR "$file"
else
nvim "$file"
$EDITOR "$file"
fi
}