change a script to an alias

This commit is contained in:
Frost-Phoenix 2024-01-12 18:15:45 +01:00
parent ac3d87980b
commit 223df32500
3 changed files with 1 additions and 9 deletions

View file

@ -2,7 +2,6 @@
wall-change = pkgs.writeShellScriptBin "wall-change" ''swaybg -m fill -i $1'';
wallpaper-picker = pkgs.writeShellScriptBin "wallpaper-picker" (builtins.readFile ./scripts/wallpaper-picker.sh);
dsize = pkgs.writeShellScriptBin "dsize" (builtins.readFile ./scripts/dsize.sh);
runbg = pkgs.writeShellScriptBin "runbg" (builtins.readFile ./scripts/runbg.sh);
music = pkgs.writeShellScriptBin "music" (builtins.readFile ./scripts/music.sh);
lofi = pkgs.writeScriptBin "lofi" (builtins.readFile ./scripts/lofi.sh);
@ -23,7 +22,6 @@ in {
wall-change
wallpaper-picker
dsize
runbg
music
lofi

View file

@ -1,7 +0,0 @@
#!/usr/bin/env bash
if [ "$#" -eq 1 ]; then
du -hs $1
else
echo "[ERROR] => Wrong number of parameters"
fi

View file

@ -22,6 +22,7 @@
cat = "bat";
nano = "micro";
icat = "kitten icat";
dsize = "du -hs";
findw = "grep -rl";
l = "eza --icons -a --group-directories-first -1"; #EZA_ICON_SPACING=2