Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions airootfs/etc/gtk-3.0/settings.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Settings]
gtk-theme-name=adw-gtk-theme-dark
gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus
gtk-font-name=FreeSans 11
gtk-font-name=Hack Nerd Font 10
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=16
gtk-application-prefer-dark-theme=true
Expand Down
2 changes: 1 addition & 1 deletion airootfs/etc/skel/.config/foot/foot.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ include=/tmp/foot-matugen-colors.ini
# selection-background=4C566A

[main]
font=JetBrainsMono Nerd Font:size=8.5
font=Hack Nerd Font:size=8.5
dpi-aware=yes
pad=14x12

Expand Down
2 changes: 1 addition & 1 deletion airootfs/etc/skel/.config/gtk-3.0/settings.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Settings]
gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus
gtk-font-name=FreeSans 11
gtk-font-name=Hack Nerd Font 10
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=16
gtk-application-prefer-dark-theme=true
Expand Down
2 changes: 1 addition & 1 deletion airootfs/etc/skel/.config/gtk-4.0/settings.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Settings]
gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus
gtk-font-name=FreeSans 11
gtk-font-name=Hack Nerd Font 10
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=16
gtk-application-prefer-dark-theme=true
Expand Down
2 changes: 1 addition & 1 deletion airootfs/etc/skel/.config/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
exec-once = gsettings set org.gnome.desktop.interface text-scaling-factor 0.75
exec-once = bash -c 'CURSOR=$(grep -m1 "^gtk-cursor-theme-name=" ~/.config/gtk-3.0/settings.ini 2>/dev/null | cut -d= -f2 || echo Adwaita); gsettings set org.gnome.desktop.interface cursor-theme "$CURSOR"'
exec-once = bash -c 'CSIZE=$(grep -m1 "^gtk-cursor-theme-size=" ~/.config/gtk-3.0/settings.ini 2>/dev/null | cut -d= -f2 || echo 16); gsettings set org.gnome.desktop.interface cursor-size "$CSIZE"'
exec-once = bash -c 'FONT=$(grep -m1 "^gtk-font-name=" ~/.config/gtk-3.0/settings.ini 2>/dev/null | cut -d= -f2 || echo "JetBrainsMono Nerd Font 10"); gsettings set org.gnome.desktop.interface font-name "$FONT"'
exec-once = bash -c 'FONT=$(grep -m1 "^gtk-font-name=" ~/.config/gtk-3.0/settings.ini 2>/dev/null | cut -d= -f2 || echo "Hack Nerd Font 10"); gsettings set org.gnome.desktop.interface font-name "$FONT"'
exec-once = mkdir -p ~/Pictures/Screenshots
# Auto-launch installer in live environment (checks archiso/Ventoy conditions)
exec-once = sudo /usr/local/bin/mados-installer-autostart &
Expand Down
4 changes: 2 additions & 2 deletions airootfs/etc/skel/.config/polybar/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ module-margin-left = 2
module-margin-right = 2

font-0 = "Michroma:size=8;2"
font-1 = "Iosevka Nerd Font:size=8;2"
font-2 = "JetBrainsMono Nerd Font:size=8;2"
font-1 = "Hack Nerd Font:size=8;2"
font-2 = "Hack Nerd Font:size=8;2"
font-3 = "Noto Color Emoji:size=8;2"
font-4 = "Symbols Nerd Font:size=8;2"

Expand Down
2 changes: 1 addition & 1 deletion airootfs/etc/skel/.config/waybar/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
window#waybar {
background: linear-gradient(90deg, rgba(46, 52, 64, 0.75) 0%, rgba(59, 66, 82, 0.75) 50%, rgba(46, 52, 64, 0.75) 100%);
color: #ECEFF4;
font-family: "Michroma", "JetBrainsMono Nerd Font", monospace;
font-family: "Michroma", "Hack Nerd Font", monospace;
font-size: 8px;
font-weight: 500;
}
Expand Down
2 changes: 1 addition & 1 deletion airootfs/etc/skel/.config/wofi/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Nord LED Theme for Wofi */

* {
font-family: "JetBrainsMono Nerd Font", monospace;
font-family: "Hack Nerd Font", monospace;
font-size: 11px;
}

Expand Down
28 changes: 21 additions & 7 deletions airootfs/root/customize_airootfs.d/02-themes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,27 @@
# Atomic module for theme installation
set -euo pipefail

install_nordic_theme() {
return 0
}
apply_default_gtk_theme() {
local settings_file="/etc/gtk-3.0/settings.ini"

mkdir -p /etc/gtk-3.0
if [[ -f "$settings_file" ]]; then
sed -i 's/^gtk-theme-name=.*/gtk-theme-name=adw-gtk3-dark/' "$settings_file"
sed -i 's/^gtk-icon-theme-name=.*/gtk-icon-theme-name=Papirus/' "$settings_file"
else
cat > "$settings_file" << 'EOF'
[Settings]
gtk-theme-name=adw-gtk3-dark
gtk-icon-theme-name=Papirus
gtk-font-name=Hack Nerd Font 10
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=16
gtk-application-prefer-dark-theme=true
gtk-decoration-layout=:minimize,maximize,close
EOF
fi

install_nordzy_icons() {
echo "✓ Default GTK theme set to adw-gtk3-dark (Papirus icons)"
return 0
}

Expand Down Expand Up @@ -64,9 +80,7 @@ install_logos_and_splashes() {
}

install_themes() {
install_nordic_theme
install_nordzy_icons

apply_default_gtk_theme
install_michroma_font
install_logos_and_splashes
fc-cache -f /usr/share/fonts/truetype/ 2>/dev/null || true
Expand Down
Loading
Loading