Add gentoo support to install.fish

This commit is contained in:
Paddy Milner 2025-08-18 22:38:46 +01:00
parent ae9ad6a354
commit 08285d9e6c
2 changed files with 19 additions and 16 deletions

View file

@ -15,8 +15,7 @@ source = $cConf/hypr-vars.conf
monitor = HDMI-A-2, 1920x1080@60, 0x0, 1
monitor = HDMI-A-1, 1920x1080@60, 1920x0, 1
workspace= name:1, monitor:HDMI-A-1
workspace= name:1, monitor:HDMI-A-1
workspace= name:1, monitor:HDMI-A-2
# Configs
source = $hl/env.conf

View file

@ -118,8 +118,11 @@ if ! set -q _flag_noconfirm
end
# Install AUR helper if not already installed
if ! pacman -Q $aur_helper &> /dev/null
if test $(lsb_release -is) = Gentoo
emerge -v gui-wm/caelestia-meta
else
# Install AUR helper if not already installed
if ! pacman -Q $aur_helper &> /dev/null
log "$aur_helper not installed. Installing..."
# Install
@ -134,6 +137,7 @@ if ! pacman -Q $aur_helper &> /dev/null
# Setup
$aur_helper -Y --gendb
$aur_helper -Y --devel --save
end
end
# Install metapackage for deps