mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
doc tweaks
This commit is contained in:
@@ -809,7 +809,7 @@ ScrollView {
|
||||
DankToggle {
|
||||
width: parent.width
|
||||
text: "Theme GTK Applications"
|
||||
description: Colors.gtkThemingEnabled ? "File managers, text editors, and system dialogs will match your theme" : "GTK theming not available (install gsettings and adw-gtk3)"
|
||||
description: Colors.gtkThemingEnabled ? "File managers, text editors, and system dialogs will match your theme" : "GTK theming not available (install gsettings)"
|
||||
enabled: Colors.gtkThemingEnabled
|
||||
checked: Colors.gtkThemingEnabled && Prefs.gtkThemingEnabled
|
||||
onToggled: function(checked) {
|
||||
|
||||
10
README.md
10
README.md
@@ -48,7 +48,6 @@ sudo dnf install quickshell-git
|
||||
| brightnessctl | Allows controlling brightness of laptop displays via backlight | No laptop display brightness control |
|
||||
| wl-clipboard | Unlocks copy functionality of certain elements, such as process PIDs | No copy |
|
||||
| qt5ct + qt6ct | Icon theme and Qt app theming | Setting icon theme in settings won't work for QT5 or QT6 applications, no Qt theming |
|
||||
| adw-gtk3 | GTK app theming | No GTK theming |
|
||||
| gsettings | GTK theme management | No GTK theming |
|
||||
|
||||
```bash
|
||||
@@ -62,7 +61,7 @@ pacman -S ddcutil # For external monitors
|
||||
pacman -S brightnessctl # For laptop displays
|
||||
|
||||
# Optional: App theming (only if you use GTK/Qt applications)
|
||||
pacman -S adw-gtk3 qt5ct qt6ct gsettings-desktop-schemas
|
||||
pacman -S qt5ct qt6ct gsettings-desktop-schemas
|
||||
|
||||
# Third-party packages (AUR)
|
||||
paru -S matugen
|
||||
@@ -79,7 +78,7 @@ sudo dnf install ddcutil # For external monitors
|
||||
sudo dnf install brightnessctl # For laptop displays
|
||||
|
||||
# Optional: App theming (only if you use GTK/Qt applications)
|
||||
sudo dnf install adw-gtk3-theme qt5ct qt6ct gsettings-desktop-schemas
|
||||
sudo dnf install theme qt5ct qt6ct gsettings-desktop-schemas
|
||||
|
||||
# Optional third-party packages (COPR repositories)
|
||||
sudo dnf copr enable heus-sueh/packages && sudo dnf install matugen
|
||||
@@ -88,11 +87,10 @@ sudo dnf copr enable heus-sueh/packages && sudo dnf install matugen
|
||||
**Note on networking:** This shell requires NetworkManager for WiFi functionality.
|
||||
|
||||
**Note on system app theming:** DankMaterialShell can automatically theme GTK and Qt applications to match your dynamic wallpaper colors. This requires:
|
||||
- For GTK apps: `Colloid` theme and `gsettings`
|
||||
- For GTK apps: A compatible theme and `gsettings`, a compatible theme is one that respects standard color definitions - e.g. [Colloid](https://github.com/vinceliuice/Colloid-gtk-theme).
|
||||
- For Qt apps: `qt5ct` and/or `qt6ct`
|
||||
|
||||
**Recommended GTK base theme:** Use [Colloid](https://github.com/vinceliuice/Colloid-gtk-theme). Install with `./install.sh -s standard -l`. Configure in `~/.config/gtk-3.0/settings.ini` and `~/.config/gtk-4.0/settings.ini` and set Colloid as the theme:
|
||||
|
||||
**Recommended GTK base theme:** Use [Colloid](https://github.com/vinceliuice/Colloid-gtk-theme). Install with your preferences, e.g. `./install.sh -s standard -l --tweaks normal`. Configure in `~/.config/gtk-3.0/settings.ini` and `~/.config/gtk-4.0/settings.ini` and set Colloid as the theme:
|
||||
```
|
||||
[Settings]
|
||||
gtk-theme-name=Colloid
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Theme verification script
|
||||
echo "=== Theme Status Check ==="
|
||||
|
||||
# Check dconf/gsettings values
|
||||
echo ""
|
||||
echo "Current theme settings:"
|
||||
if command -v dconf >/dev/null 2>&1; then
|
||||
echo " color-scheme (dconf): $(dconf read /org/gnome/desktop/interface/color-scheme 2>/dev/null || echo 'not set')"
|
||||
echo " gtk-theme (dconf): $(dconf read /org/gnome/desktop/interface/gtk-theme 2>/dev/null || echo 'not set')"
|
||||
echo " icon-theme (dconf): $(dconf read /org/gnome/desktop/interface/icon-theme 2>/dev/null || echo 'not set')"
|
||||
fi
|
||||
|
||||
if command -v gsettings >/dev/null 2>&1; then
|
||||
echo " color-scheme (gsettings): $(gsettings get org.gnome.desktop.interface color-scheme 2>/dev/null || echo 'not available')"
|
||||
echo " gtk-theme (gsettings): $(gsettings get org.gnome.desktop.interface gtk-theme 2>/dev/null || echo 'not available')"
|
||||
echo " icon-theme (gsettings): $(gsettings get org.gnome.desktop.interface icon-theme 2>/dev/null || echo 'not available')"
|
||||
fi
|
||||
|
||||
# Check settings.ini files
|
||||
echo ""
|
||||
echo "GTK settings.ini files:"
|
||||
for gtk_dir in ~/.config/gtk-3.0 ~/.config/gtk-4.0; do
|
||||
if [ -f "$gtk_dir/settings.ini" ]; then
|
||||
echo " $gtk_dir/settings.ini:"
|
||||
grep -E "(gtk-theme-name|gtk-icon-theme-name|gtk-application-prefer-dark-theme)" "$gtk_dir/settings.ini" | sed 's/^/ /'
|
||||
else
|
||||
echo " $gtk_dir/settings.ini: not found"
|
||||
fi
|
||||
done
|
||||
|
||||
# Check for generated color files
|
||||
echo ""
|
||||
echo "Generated color files:"
|
||||
for color_file in ~/.config/gtk-3.0/colors.css ~/.config/gtk-4.0/colors.css; do
|
||||
if [ -f "$color_file" ]; then
|
||||
echo " $color_file: exists ($(stat -c%y "$color_file" | cut -d' ' -f1,2))"
|
||||
# Show first few lines to verify it has content
|
||||
echo " Preview: $(head -3 "$color_file" | tr '\n' ' ')"
|
||||
else
|
||||
echo " $color_file: not found"
|
||||
fi
|
||||
done
|
||||
|
||||
# Check for Qt color schemes
|
||||
echo ""
|
||||
echo "Qt color schemes:"
|
||||
if [ -f ~/.local/share/color-schemes/Matugen.colors ]; then
|
||||
echo " Matugen.colors: exists ($(stat -c%y ~/.local/share/color-schemes/Matugen.colors | cut -d' ' -f1,2))"
|
||||
else
|
||||
echo " Matugen.colors: not found"
|
||||
fi
|
||||
|
||||
# Test immediate effect
|
||||
echo ""
|
||||
echo "Testing immediate color-scheme change:"
|
||||
if command -v dconf >/dev/null 2>&1; then
|
||||
current_scheme=$(dconf read /org/gnome/desktop/interface/color-scheme 2>/dev/null)
|
||||
echo " Current: $current_scheme"
|
||||
echo " You can test by running:"
|
||||
if [[ "$current_scheme" == *"dark"* ]]; then
|
||||
echo " dconf write /org/gnome/desktop/interface/color-scheme '\"prefer-light\"'"
|
||||
echo " (then switch back with: dconf write /org/gnome/desktop/interface/color-scheme '\"prefer-dark\"')"
|
||||
else
|
||||
echo " dconf write /org/gnome/desktop/interface/color-scheme '\"prefer-dark\"'"
|
||||
echo " (then switch back with: dconf write /org/gnome/desktop/interface/color-scheme '\"prefer-light\"')"
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user