replaced keyring bind with a sort of control panel thing with several system related options like changing the wallpaper, managing volume controls, etc. also has a calculator

This commit is contained in:
pagedmov
2024-10-26 04:03:21 -04:00
parent 84133fbef7
commit bd5a7514a9
5 changed files with 88 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ pkgs.writeShellScriptBin "viconf" ''
#!/usr/bin/env bash
[ ! $# -eq 1 ] && echo "Usage: viconf <*.nix>" && exit 1
results=$(find "$FLAKEPATH" -name "*$1*" -exec find {} \; | sort | uniq | rg '\.nix$')
results=$(find "$FLAKEPATH" -wholename "*$1*" -exec find {} \; | sort | uniq | rg '\.nix$')
numresults=$(echo "$results" | wc -l)
[ "$numresults" -eq 0 ] && echo "$1 not found in \$FLAKEPATH" && exit 1
if [ "$numresults" -gt 1 ]; then