Call software scripts using individual fish
commands
This commit is contained in:
parent
406a7d970c
commit
4ecfcfc6f3
|
@ -2,11 +2,10 @@
|
|||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
source "$dir/../../../Common/Software/Firefox/main.fish"
|
||||
|
||||
function installSW
|
||||
yayinst firefox
|
||||
configureSW
|
||||
fish "$dir/../../../Common/Software/Firefox/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
source "$dir/../../../Common/Software/GRUB/main.fish"
|
||||
|
||||
function installSW -V dir
|
||||
pacinst \
|
||||
|
@ -10,7 +9,7 @@ begin
|
|||
efibootmgr \
|
||||
os-prober
|
||||
|
||||
configureSW
|
||||
fish "$dir/../../../Common/Software/GRUB/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -21,7 +21,7 @@ begin
|
|||
function configureSW -V dir
|
||||
sudo systemctl enable --now libvirtd
|
||||
sudo systemctl enable --now virtlogd
|
||||
source "$dir/../../../Common/Software/Virtual Machine Manager/main.fish" configure
|
||||
fish "$dir/../../../Common/Software/Virtual Machine Manager/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -2,13 +2,12 @@
|
|||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
source "$dir/../../../Common/Software/aliae/main.fish"
|
||||
|
||||
function installSW
|
||||
yayinst \
|
||||
aliae-bin
|
||||
|
||||
configureSW
|
||||
fish "$dir/../../../Common/Software/aliae/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -37,7 +37,7 @@ begin
|
|||
end
|
||||
|
||||
function configureSW -V dir
|
||||
source "$dir/../../../Common/Software/logo-ls/main.fish" configure
|
||||
fish "$dir/../../../Common/Software/logo-ls/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
source "$dir/../../../Common/Software/minegrub-theme/main.fish"
|
||||
|
||||
function installSW
|
||||
yayinst grub-theme-minegrub-git
|
||||
configureSW
|
||||
fish "$dir/../../../Common/Software/minegrub-theme/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -13,7 +13,7 @@ begin
|
|||
|
||||
function configureSW -V dir
|
||||
sudo systemctl enable --now nix-daemon
|
||||
source "$dir/../../../Common/Software/nix/main.fish" configure
|
||||
fish "$dir/../../../Common/Software/nix/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -5,7 +5,7 @@ begin
|
|||
|
||||
function installSW
|
||||
yayinst pyenv
|
||||
source "$dir/../../../Common/Software/pyenv/main.fish" configure
|
||||
fish "$dir/../../../Common/Software/pyenv/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -8,7 +8,7 @@ begin
|
|||
yayinst \
|
||||
rclone
|
||||
|
||||
configureSW
|
||||
fish "$dir/../../../Common/Software/rclone/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -13,7 +13,7 @@ begin
|
|||
) vim-wayland-clipboard-git \
|
||||
wl-clipboard
|
||||
|
||||
and configureSW
|
||||
and fish "$dir/../../../Common/Software/vim/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -26,7 +26,7 @@ begin
|
|||
end
|
||||
end
|
||||
|
||||
source "$dir/../../../Common/Software/vscode/main.fish" configure
|
||||
fish "$dir/../../../Common/Software/vscode/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -2,13 +2,12 @@
|
|||
begin
|
||||
set -l dir (status dirname)
|
||||
source "$dir/../../Scripts/software.fish"
|
||||
source "$dir/../../../Common/Software/zoxide/main.fish"
|
||||
|
||||
function installSW
|
||||
yayinst \
|
||||
zoxide
|
||||
|
||||
configureSW
|
||||
fish "$dir/../../../Common/Software/zoxide/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
|
@ -8,7 +8,7 @@ begin
|
|||
's/^#\?\(GRUB_THEME=\).*$/\1"\/usr\/share\/grub\/themes\/minegrub\/minegrub\/theme.txt"/' \
|
||||
/etc/default/grub
|
||||
|
||||
source "$dir/../GRUB/main.fish" configure
|
||||
fish "$dir/../GRUB/main.fish" configure
|
||||
end
|
||||
|
||||
runInstaller $argv
|
||||
|
|
Loading…
Reference in a new issue