options follow my.schema to avoid conflicts
This commit is contained in:
@@ -24,7 +24,6 @@ in {
|
||||
''download -u jawz -i "$(cat $LW | fzf --multi --exact -i)"'';
|
||||
cp = "cp -i";
|
||||
mv = "mv -i";
|
||||
mkcd = ''mkdir -pv "$1" && cd "$1" || exit'';
|
||||
mkdir = "mkdir -p";
|
||||
rm = "trash";
|
||||
".." = "cd ..";
|
||||
@@ -41,21 +40,21 @@ in {
|
||||
jc = "journalctl --user -xefu";
|
||||
open-gallery = ''
|
||||
cd /mnt/pool/scrapping/JawZ/gallery-dl &&
|
||||
xdg-open "$(fd . ./ Husbands -tdirectory -d 1 | fzf -i)"'';
|
||||
xdg-open "$(fd . ./ Husbands -tdirectory -d 1 | fzf -i)"'';
|
||||
unique-extensions = ''
|
||||
fd -tf | rev | cut -d. -f1 | rev |
|
||||
tr '[:upper:]' '[:lower:]' | sort |
|
||||
uniq --count | sort -rn'';
|
||||
tr '[:upper:]' '[:lower:]' | sort |
|
||||
uniq --count | sort -rn'';
|
||||
};
|
||||
enableVteIntegration = true;
|
||||
initExtra = ''
|
||||
$HOME/.local/bin/pokemon-colorscripts -r --no-title
|
||||
# Lists
|
||||
|
||||
list_root="${config.xdg.configHome}"/jawz/lists/jawz
|
||||
export LW=$list_root/watch.txt
|
||||
export LI=$list_root/instant.txt
|
||||
export LC=$list_root/comic.txt
|
||||
export command_timeout=30
|
||||
export command_timeout=60
|
||||
|
||||
if command -v fzf-share >/dev/null; then
|
||||
source "$(fzf-share)/key-bindings.bash"
|
||||
@@ -64,11 +63,12 @@ in {
|
||||
|
||||
nixos-reload () {
|
||||
NIXOSDIR=/home/jawz/Development/NixOS
|
||||
nix-store --add-fixed sha256 $NIXOSDIR/scripts/PureRef-1.11.1_x64.Appimage
|
||||
nixfmt $NIXOSDIR/workstation/*.nix
|
||||
nix-store --add-fixed sha256 \
|
||||
$NIXOSDIR/PureRef-1.11.1_x64.Appimage
|
||||
fd --full-path $NIXOSDIR -e nix -x nixfmt \;
|
||||
sudo unbuffer nixos-rebuild switch -I \
|
||||
nixos-config="$NIXOSDIR/hosts/$HOSTNAME/configuration.nix" \
|
||||
|& nom
|
||||
nixos-config="$NIXOSDIR/hosts/$HOSTNAME/configuration.nix" \
|
||||
|& nom
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user