user password, bugfixes

This commit is contained in:
SArpnt 2023-12-29 15:14:49 -05:00
parent 003c2b8496
commit 0800cad8b7
Signed by: SArpnt
SSH Key Fingerprint: SHA256:wyRI40FXp6te9QA9r2OFJf+DtCZQmqZFNTj7EV6aMDA
1 changed files with 37 additions and 13 deletions

View File

@ -64,15 +64,21 @@ begin
# display manager
set -a packages weston sddm sddm-kcm
# TODO desktop
# desktop
# TODO
if true
set -a packages lxqt-policykit
set -a packages pcmanfm-qt lxqt-archiver foot
set -a packages breeze-icons
#set -a packages qt5ct qt6ct
#set -a packages xsettingsd
end
# theme
# TODO
if true
set -a packages breeze-icons
end
# basic user utilities
set -a packages libreoffice-fresh krita inkscape blender keepassxc mpv qbittorrent ffmpeg yt-dlp krdc
@ -163,23 +169,41 @@ echo "this can be any text and is usually used to display the name of the user i
set -l nickname (ask $user)
useradd -m -G games,realtime,wheel -c $nickname $user
runuser $user -c 'git clone "https://aur.archlinux.org/paru-bin.git" /tmp/paru-bin'
pushd /tmp/paru-bin
runuser $user -c 'makepkg -sir --noconfirm'
popd
rm -rf /tmp/paru-bin
passwd $user
runuser $user -c 'paru -Syu --noconfirm dashbinsh doasedit-alternative fish-z-git librewolf-bin ttf-twemoji ventoy-bin'
# TODO
if true
runuser $user -c 'paru -Syu --noconfirm themix-gui-git themix-theme-oomox-git'
begin
set -l paru (mktemp -d)
runuser $user --session-command "git clone "https://aur.archlinux.org/paru-bin.git" $paru"
pushd $paru
runuser $user --session-command "makepkg -sir --noconfirm"
popd
rm -rf $paru
end
runuser $user -c 'tldr -u'
begin
set -l packages
set -a packages dashbinsh doasedit-alternative fish-z-git librewolf-bin ttf-twemoji ventoy-bin
# theme
# TODO
if true
set -a packages themix-gui-git themix-theme-oomox-git
end
# development
# TODO
if true
set -a packages ventoy-bin
end
runuser $user --session-command "paru -Syu --sudoloop --noconfirm $(string join ' ' $packages)"
end
runuser $user --session-command "tldr -u"
# services
systemctl enable bluetooth firewalld chronyd fstrim.timer
runuser $user -c 'systemctl --user enable fluidsynth'
runuser $user --session-command "systemctl --user enable fluidsynth"
# TODO check that user pipewire is already enabled
# TODO configure fluidsynth so that it actually works