Theming auf Colloid-Catppuccin und UbuntuSans Nerd Font vereinheitlichen
- GTK-Theme von catppuccin-mocha-lavender auf Colloid-Catppuccin umgestellt - Systemweite GTK4-Symlinks in /etc/xdg/gtk-4.0/ für libadwaita Dark-Mode - gsettings für Theme, Color-Scheme, Icon-Theme und Font im post-install - Alle Fonts (Hack, JetBrainsMono, MonarchOS) auf UbuntuSans Nerd Font - Paketlisten: Colloid-Pakete statt catppuccin-gtk/newaita, ttf-ubuntusans-nerd
This commit is contained in:
parent
ae904436f0
commit
b43720082d
@ -124,7 +124,7 @@
|
|||||||
|
|
||||||
### Text ###
|
### Text ###
|
||||||
|
|
||||||
font = JetBrainsMono Nerd Font 10
|
font = UbuntuSans Nerd Font 10
|
||||||
|
|
||||||
# The spacing between lines. If the height is smaller than the
|
# The spacing between lines. If the height is smaller than the
|
||||||
# font height, it will get raised to the font height.
|
# font height, it will get raised to the font height.
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
# title=foot
|
# title=foot
|
||||||
# locked-title=no
|
# locked-title=no
|
||||||
|
|
||||||
font=Hack Nerd Font:size=11
|
font=UbuntuSans Nerd Font:size=11
|
||||||
# font-bold=<bold variant of regular font>
|
# font-bold=<bold variant of regular font>
|
||||||
# font-italic=<italic variant of regular font>
|
# font-italic=<italic variant of regular font>
|
||||||
# font-bold-italic=<bold+italic variant of regular font>
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
# ABOUTME: User overrides go in ~/.config/gtk-3.0/settings.ini
|
# ABOUTME: User overrides go in ~/.config/gtk-3.0/settings.ini
|
||||||
|
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=catppuccin-mocha-lavender-standard+default
|
gtk-theme-name=Colloid-Catppuccin
|
||||||
gtk-icon-theme-name=Newaita-reborn-gray-dark
|
gtk-icon-theme-name=Newaita-reborn-gray-dark
|
||||||
gtk-font-name=Hack Nerd Font 11
|
gtk-font-name=UbuntuSans Nerd Font 11
|
||||||
gtk-cursor-theme-name=Sweet-cursors
|
gtk-cursor-theme-name=Sweet-cursors
|
||||||
gtk-cursor-theme-size=24
|
gtk-cursor-theme-size=24
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
gtk-toolbar-style=GTK_TOOLBAR_BOTH
|
||||||
|
|||||||
@ -112,7 +112,7 @@ textbox-prompt-colon {
|
|||||||
enabled: true;
|
enabled: true;
|
||||||
padding: 5px 0px 0px 15px;
|
padding: 5px 0px 0px 15px;
|
||||||
expand: false;
|
expand: false;
|
||||||
font: "MonarchOS 14";
|
font: "UbuntuSans Nerd Font 14";
|
||||||
str: "";
|
str: "";
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
|
|||||||
@ -52,7 +52,7 @@ configuration {
|
|||||||
alternate-active-background: var(active);
|
alternate-active-background: var(active);
|
||||||
alternate-active-foreground: var(background);
|
alternate-active-foreground: var(background);
|
||||||
|
|
||||||
font: "JetBrainsMono Nerd Font 11";
|
font: "UbuntuSans Nerd Font 11";
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
frame-border: 1px solid;
|
frame-border: 1px solid;
|
||||||
}
|
}
|
||||||
@ -287,7 +287,7 @@ textbox {
|
|||||||
border-radius: 0 0 0 0;
|
border-radius: 0 0 0 0;
|
||||||
border-color: @borders;
|
border-color: @borders;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
font: "JetBrainsMono Nerd Font 12";
|
font: "UbuntuSans Nerd Font 12";
|
||||||
text-color: var(theme-text-color);
|
text-color: var(theme-text-color);
|
||||||
horizontal-align: 0.5;
|
horizontal-align: 0.5;
|
||||||
highlight: none;
|
highlight: none;
|
||||||
|
|||||||
@ -96,7 +96,7 @@ textbox-prompt-colon {
|
|||||||
enabled: true;
|
enabled: true;
|
||||||
padding: 5px 0px 0px 15px;
|
padding: 5px 0px 0px 15px;
|
||||||
expand: false;
|
expand: false;
|
||||||
font: "MonarchOS 14";
|
font: "UbuntuSans Nerd Font 14";
|
||||||
str: "";
|
str: "";
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
|
|||||||
@ -108,7 +108,7 @@ textbox-prompt-colon {
|
|||||||
enabled: true;
|
enabled: true;
|
||||||
padding: 5px 0px 0px 15px;
|
padding: 5px 0px 0px 15px;
|
||||||
expand: false;
|
expand: false;
|
||||||
font: "MonarchOS 14";
|
font: "UbuntuSans Nerd Font 14";
|
||||||
str: "";
|
str: "";
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
|
|||||||
@ -30,7 +30,7 @@ textbox {
|
|||||||
|
|
||||||
placeholder-color: var(theme-text-color);
|
placeholder-color: var(theme-text-color);
|
||||||
|
|
||||||
font: "JetBrainsMono Nerd Font Bold 12";
|
font: "UbuntuSans Nerd Font Bold 12";
|
||||||
}
|
}
|
||||||
error-message {
|
error-message {
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
@ -64,7 +64,7 @@ element-text {
|
|||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
horizontal-align: 0.5;
|
horizontal-align: 0.5;
|
||||||
vertical-align:0;
|
vertical-align:0;
|
||||||
font: "JetBrainsMono Nerd Font 18";
|
font: "UbuntuSans Nerd Font 18";
|
||||||
|
|
||||||
}
|
}
|
||||||
element selected.normal {
|
element selected.normal {
|
||||||
|
|||||||
@ -41,7 +41,7 @@ textbox-prompt-colon {
|
|||||||
str: "";
|
str: "";
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 4px 0 0;
|
padding: 0 4px 0 0;
|
||||||
font: "JetBrainsMono Nerd Font 16";
|
font: "UbuntuSans Nerd Font 16";
|
||||||
}
|
}
|
||||||
prompt {
|
prompt {
|
||||||
padding: 4px 0 0 0;
|
padding: 4px 0 0 0;
|
||||||
@ -86,7 +86,7 @@ element {
|
|||||||
cursor: "pointer";
|
cursor: "pointer";
|
||||||
}
|
}
|
||||||
element-text {
|
element-text {
|
||||||
font: "JetBrainsMono Nerd Font 28";
|
font: "UbuntuSans Nerd Font 28";
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: var(text);
|
text-color: var(text);
|
||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
|
|||||||
@ -22,5 +22,5 @@ element-icon {
|
|||||||
element-text {
|
element-text {
|
||||||
vertical-align: 0.5;
|
vertical-align: 0.5;
|
||||||
horizontal-align: 0.5;
|
horizontal-align: 0.5;
|
||||||
font: "JetBrainsMono Nerd Font 9";
|
font: "UbuntuSans Nerd Font 9";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -163,7 +163,7 @@ element {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
element-text {
|
element-text {
|
||||||
font: "JetBrainsMono Nerd Font bold 32";
|
font: "UbuntuSans Nerd Font Bold 32";
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
border: none;
|
border: none;
|
||||||
font-family: "Ubuntu Nerd Font", sans-serif;
|
font-family: "UbuntuSans Nerd Font", sans-serif;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: alpha(@theme_text_color, 0.8);
|
color: alpha(@theme_text_color, 0.8);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,8 +5,8 @@
|
|||||||
# paru
|
# paru
|
||||||
|
|
||||||
# Theming
|
# Theming
|
||||||
catppuccin-gtk-theme-mocha
|
colloid-catppuccin-gtk-theme-git
|
||||||
newaita-reborn-icons-git
|
colloid-catppuccin-theme-git
|
||||||
|
|
||||||
# Niri / Wayland Extras
|
# Niri / Wayland Extras
|
||||||
rofi-lbonn-wayland-git
|
rofi-lbonn-wayland-git
|
||||||
|
|||||||
@ -77,7 +77,7 @@ xdg-desktop-portal-gtk
|
|||||||
qt6-5compat
|
qt6-5compat
|
||||||
|
|
||||||
# Themes & Fonts
|
# Themes & Fonts
|
||||||
ttf-hack-nerd
|
ttf-ubuntusans-nerd
|
||||||
|
|
||||||
# Anwendungen
|
# Anwendungen
|
||||||
viewnior
|
viewnior
|
||||||
|
|||||||
@ -83,6 +83,34 @@ sudo cp -r "$DEFAULTS_DIR/xdg/"* /etc/xdg/
|
|||||||
# Sicherstellen dass Rofi-Scripts ausführbar sind
|
# Sicherstellen dass Rofi-Scripts ausführbar sind
|
||||||
sudo find /etc/xdg/rofi -name "*.sh" -exec chmod +x {} \;
|
sudo find /etc/xdg/rofi -name "*.sh" -exec chmod +x {} \;
|
||||||
|
|
||||||
|
# --- GTK4 Theme-Symlinks für libadwaita-Apps ---
|
||||||
|
|
||||||
|
THEME_NAME="Colloid-Catppuccin"
|
||||||
|
THEME_GTK4="/usr/share/themes/$THEME_NAME/gtk-4.0"
|
||||||
|
GTK4_XDG="/etc/xdg/gtk-4.0"
|
||||||
|
|
||||||
|
if [[ -d "$THEME_GTK4" ]]; then
|
||||||
|
log "Erstelle systemweite GTK4-Symlinks für $THEME_NAME..."
|
||||||
|
|
||||||
|
# gtk.css zeigt auf gtk-dark.css, damit libadwaita-Apps das Dark-Theme laden
|
||||||
|
sudo ln -sf "$THEME_GTK4/gtk-dark.css" "$GTK4_XDG/gtk.css"
|
||||||
|
sudo ln -sf "$THEME_GTK4/gtk-dark.css" "$GTK4_XDG/gtk-dark.css"
|
||||||
|
|
||||||
|
# Assets-Symlink: erst entfernen falls vorhanden (ln -sf auf Verzeichnisse folgt dem Link)
|
||||||
|
sudo rm -f "$GTK4_XDG/assets"
|
||||||
|
sudo ln -s "$THEME_GTK4/assets" "$GTK4_XDG/assets"
|
||||||
|
else
|
||||||
|
err "GTK4-Theme nicht gefunden: $THEME_GTK4 — libadwaita-Apps nutzen Fallback-Theme."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# --- gsettings für GTK-Theme und Dark-Mode ---
|
||||||
|
|
||||||
|
log "Setze gsettings für GTK-Theme..."
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme "$THEME_NAME"
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme 'Colloid-Grey-Catppuccin-Dark'
|
||||||
|
gsettings set org.gnome.desktop.interface font-name 'UbuntuSans Nerd Font 11'
|
||||||
|
|
||||||
# --- Helper-Scripts installieren ---
|
# --- Helper-Scripts installieren ---
|
||||||
|
|
||||||
log "Installiere Moonarch Helper-Scripts nach /usr/local/bin/..."
|
log "Installiere Moonarch Helper-Scripts nach /usr/local/bin/..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user