This commit is contained in:
teldra 2022-02-07 22:50:49 +01:00
parent f60812dde7
commit a28099ab22
7 changed files with 42 additions and 9 deletions

View File

@ -1,3 +1,3 @@
packages() {
addpkg "xf86-video-amdgpu"
X11_MODULE="xf86-video-amdgpu"
}

View File

@ -1,3 +1,3 @@
packages() {
addpkg "xf86-video-intel"
X11_MODULE="xf86-video-intel"
}

View File

@ -1,3 +1,3 @@
packages() {
addpkg "nvidia"
X11_MODULE="nvidia"
}

View File

@ -1,5 +1,5 @@
packages() {
addpkg "sddm" "kde5" "konsole"
addpkg sddm kde5 konsole dolphin kdeconnect okular spectacle kcalc kleopatra gwenview ark filelight
need_xserver=1
}

View File

@ -4,4 +4,35 @@ packages() {
config() {
enable_service alsa
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire-session.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Name=PipeWire Pulse" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Comment=Start the PipeWire Pulse" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-pulse" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire-session.desktop
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire-session.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Name=PipeWire Media Session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Comment=Start the PipeWire Media Session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-media-session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire-session.desktop
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire.desktop
echo "Name=PipeWire Media System" >> /etc/xdg/autostart/pipewire.desktop
echo "Comment=Start the PipeWire Media System" >> /etc/xdg/autostart/pipewire.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire" >> /etc/xdg/autostart/pipewire.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire.desktop
}

View File

@ -1,14 +1,15 @@
packages() {
addpkg xorg-minimal xorg-apps dbus
addpkg xorg-minimal xorg-apps xorg-fonts dbus "${X11_MODULE}"
addpkg "firefox-i18n-${LANGUAGE}"
addpkg libreoffice-writer libreoffice-calc "libreoffice-i18n-${LANGUAGE}"
addpkg "thunderbird-i18n-${LANGUAGE}"
addpkg element-desktop
addpkg vlc yt-dlp
}
config() {
enable_service dbus
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf "${dest}"/etc/fonts/conf.d/
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
if [ "$LANGUAGE" == "de" ]; then
mkdir -p /etc/X11/xorg.conf.d
@ -20,4 +21,5 @@ config() {
echo " #Option \"XkbOptions\" \"grp:alt_shift_toggle\"";
echo "EndSection"; } > /etc/X11/xorg.conf.d/10-keyboard.conf
fi
ln -s /usr/bin/yt-dlp /usr/local/bin/youtube-dl
}

View File

@ -198,12 +198,12 @@ profile() {
packages
reset packages
cp "./etc/profile/${PROFILE}" "${tmp_target}"
if [ "${need_xserver}" == "1" ]; then
readin xserver
fi
if [ "${need_gfx}" == "1" ]; then
readin gfx
fi
if [ "${need_xserver}" == "1" ]; then
readin xserver
fi
if [ "${need_sound}" == "1" ]; then
readin soundsystem
fi