Skip to content

Commit

Permalink
Code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
mbugni committed Jun 1, 2024
1 parent 3c25356 commit 7f27975
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 26 deletions.
10 changes: 0 additions & 10 deletions kiwi-descriptions/components/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,15 @@
<package name="microcode_ctl"/>
<!-- Networking -->
<package name="NetworkManager-wifi"/>
<package name="firewalld"/>
<!-- System -->
<package name="dnf"/>
<package name="dnf-plugins-core"/>
<package name="fwupd"/>
<package name="grubby"/>
<package name="sudo"/>
<!-- package name="systemd-oomd-defaults"/ -->
<package name="systemd-resolved"/>
<package name="util-linux"/>
<package name="zram-generator-defaults"/>
<package name="chrony"/>
<package name="plymouth-scripts"/>
<package name="rpm-plugin-systemd-inhibit"/>
<!-- Tools -->
<package name="bash-completion"/>
<package name="bind-utils"/>
<package name="btrfs-progs"/>
<package name="less"/>
<package name="net-tools"/>
<package name="psmisc"/>
<package name="clinfo"/>
Expand Down
2 changes: 2 additions & 0 deletions kiwi-descriptions/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ if [[ "$kiwi_profiles" == *"LiveSystemGraphical"* ]]; then
systemctl enable livesys.service livesys-late.service
# Set up KDE live session
echo 'livesys_session="kde"' > /etc/sysconfig/livesys
echo "Setting up Flathub repo..."
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
fi

#======================================
Expand Down
24 changes: 12 additions & 12 deletions kiwi-descriptions/root/etc/fonts/local.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<!-- Settins for better font rendering -->
<match target="font">
<edit mode="assign" name="rgba"><const>rgb</const></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
<edit mode="assign" name="antialias"><bool>true</bool></edit>
<edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
</match>
<!-- Settings for better font rendering -->
<match target="font">
<edit mode="assign" name="rgba"><const>rgb</const></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
<edit mode="assign" name="antialias"><bool>true</bool></edit>
<edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
</match>

<!-- Local default fonts -->
<!-- Serif faces -->
<!-- Local default fonts -->
<!-- Serif faces -->
<alias>
<family>serif</family>
<prefer>
Expand All @@ -21,7 +21,7 @@
<family>Liberation Serif</family>
</prefer>
</alias>
<!-- Sans-serif faces -->
<!-- Sans-serif faces -->
<alias>
<family>sans-serif</family>
<prefer>
Expand All @@ -30,7 +30,7 @@
<family>Liberation Sans</family>
</prefer>
</alias>
<!-- Monospace faces -->
<!-- Monospace faces -->
<alias>
<family>monospace</family>
<prefer>
Expand Down
4 changes: 0 additions & 4 deletions kiwi-descriptions/root/usr/local/libexec/remix/flatpak-setup
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
# Flatpak setup commands

echo "Setting up flathub repo..."
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

echo "Sharing user Gtk settings with apps..."
flatpak override --user --filesystem=xdg-config/gtkrc:ro
flatpak override --user --filesystem=xdg-config/gtkrc-2.0:ro
Expand Down

0 comments on commit 7f27975

Please sign in to comment.