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 begin
set -l dir (status dirname) set -l dir (status dirname)
source "$dir/../../Scripts/software.fish" source "$dir/../../Scripts/software.fish"
source "$dir/../../../Common/Software/Firefox/main.fish"
function installSW function installSW
yayinst firefox yayinst firefox
configureSW fish "$dir/../../../Common/Software/Firefox/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -2,7 +2,6 @@
begin begin
set -l dir (status dirname) set -l dir (status dirname)
source "$dir/../../Scripts/software.fish" source "$dir/../../Scripts/software.fish"
source "$dir/../../../Common/Software/GRUB/main.fish"
function installSW -V dir function installSW -V dir
pacinst \ pacinst \
@ -10,7 +9,7 @@ begin
efibootmgr \ efibootmgr \
os-prober os-prober
configureSW fish "$dir/../../../Common/Software/GRUB/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -21,7 +21,7 @@ begin
function configureSW -V dir function configureSW -V dir
sudo systemctl enable --now libvirtd sudo systemctl enable --now libvirtd
sudo systemctl enable --now virtlogd 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 end
runInstaller $argv runInstaller $argv

View file

@ -2,13 +2,12 @@
begin begin
set -l dir (status dirname) set -l dir (status dirname)
source "$dir/../../Scripts/software.fish" source "$dir/../../Scripts/software.fish"
source "$dir/../../../Common/Software/aliae/main.fish"
function installSW function installSW
yayinst \ yayinst \
aliae-bin aliae-bin
configureSW fish "$dir/../../../Common/Software/aliae/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -37,7 +37,7 @@ begin
end end
function configureSW -V dir function configureSW -V dir
source "$dir/../../../Common/Software/logo-ls/main.fish" configure fish "$dir/../../../Common/Software/logo-ls/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -2,11 +2,10 @@
begin begin
set -l dir (status dirname) set -l dir (status dirname)
source "$dir/../../Scripts/software.fish" source "$dir/../../Scripts/software.fish"
source "$dir/../../../Common/Software/minegrub-theme/main.fish"
function installSW function installSW
yayinst grub-theme-minegrub-git yayinst grub-theme-minegrub-git
configureSW fish "$dir/../../../Common/Software/minegrub-theme/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -13,7 +13,7 @@ begin
function configureSW -V dir function configureSW -V dir
sudo systemctl enable --now nix-daemon sudo systemctl enable --now nix-daemon
source "$dir/../../../Common/Software/nix/main.fish" configure fish "$dir/../../../Common/Software/nix/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -5,7 +5,7 @@ begin
function installSW function installSW
yayinst pyenv yayinst pyenv
source "$dir/../../../Common/Software/pyenv/main.fish" configure fish "$dir/../../../Common/Software/pyenv/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

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

View file

@ -13,7 +13,7 @@ begin
) vim-wayland-clipboard-git \ ) vim-wayland-clipboard-git \
wl-clipboard wl-clipboard
and configureSW and fish "$dir/../../../Common/Software/vim/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -26,7 +26,7 @@ begin
end end
end end
source "$dir/../../../Common/Software/vscode/main.fish" configure fish "$dir/../../../Common/Software/vscode/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -2,13 +2,12 @@
begin begin
set -l dir (status dirname) set -l dir (status dirname)
source "$dir/../../Scripts/software.fish" source "$dir/../../Scripts/software.fish"
source "$dir/../../../Common/Software/zoxide/main.fish"
function installSW function installSW
yayinst \ yayinst \
zoxide zoxide
configureSW fish "$dir/../../../Common/Software/zoxide/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -8,7 +8,7 @@ begin
's/^#\?\(GRUB_THEME=\).*$/\1"\/usr\/share\/grub\/themes\/minegrub\/minegrub\/theme.txt"/' \ 's/^#\?\(GRUB_THEME=\).*$/\1"\/usr\/share\/grub\/themes\/minegrub\/minegrub\/theme.txt"/' \
/etc/default/grub /etc/default/grub
source "$dir/../GRUB/main.fish" configure fish "$dir/../GRUB/main.fish" configure
end end
runInstaller $argv runInstaller $argv