Call software scripts using individual fish commands

This commit is contained in:
Manuel Thalmann 2024-07-20 03:27:36 +02:00
parent 2270614318
commit 757906d155
15 changed files with 15 additions and 20 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

@ -10,7 +10,7 @@ begin
# brave-nightly-bin # brave-nightly-bin
) )
configureSW fish "$dir/../../../Common/Software/brave/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -13,7 +13,7 @@ begin
gitflow-fishcompletion-avh \ gitflow-fishcompletion-avh \
gitflow-zshcompletion-avh gitflow-zshcompletion-avh
and configureSW and fish "$dir/../../../Common/Software/git/main.fish" configure
end end
runInstaller $argv runInstaller $argv

View file

@ -38,7 +38,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/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