Call software scripts using individual fish commands

This commit is contained in:
Manuel Thalmann 2024-07-20 03:27:36 +02:00
parent 406a7d970c
commit 4ecfcfc6f3
13 changed files with 13 additions and 18 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -8,7 +8,7 @@ begin
yayinst \
rclone
configureSW
fish "$dir/../../../Common/Software/rclone/main.fish" configure
end
runInstaller $argv

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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