Swap bspwmrc to fish; refactor root-level scripts

This commit is contained in:
mitchell 2021-12-28 15:03:49 -08:00
parent 43c56716f8
commit 8ac7a6cb37
6 changed files with 54 additions and 45 deletions

22
swim
View file

@ -31,28 +31,6 @@ function format -d 'Format fish scripts'
fish_indent --write $src_fish_files
end
function sync -d 'Run the sync script'
./sync $argv
end
function install_arch -d 'Run the install_arch script'
./install_arch $argv
end
function upgrade_debi -d 'Run the debian_upgrade script'
./upgrade_debian $argv
end
function provision -d 'Run the provision_linux script with the specified distro'
argparse 'd/distro=' -- $argv
if test -n "$_flag_d"
set -g distro $_flag_d
end
./provision_linux $argv[2..-1]
end
# --- execution/help handling ---
function help -a function_name -d 'Displays help for internal function'