我遵循了这个指南:
https://github.com/antoniosarosi/dotfiles
。像 Thunar、Firefox 和 qbittorent 这样的程序似乎并没有遵循这个主题。我安装了 lxappearance、kvantum 和 qt5ct 并全部尝试。我编辑了 gtkrc-2.0 并放入
gtk-theme-name="Material-Black-Blueberry-4.0"
gtk-icon-theme-name="Blueberry-Numix-2021"
我用相同的方式编辑了 ~/.config/gtk-3.0/settings.ini 。还有我的~/.profile
export EDITOR=/usr/bin/nano
export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
和我的 /etc/environment
QT_QPA_PLATFORMTHEME=qt5ct
规格(如果重要的话):
OS: Manjaro Linux x86_64
Kernel: 5.15.65-1-MANJARO
Uptime: 20 hours, 58 mins
Packages: 997 (pacman)
Shell: bash 5.1.16
Resolution: 1920x1080, 1920x1080
WM: Qtile
Theme: Material-Black-Blueberry-4.0 [GTK2/3]
Icons: Blueberry-Numix-2021 [GTK2/3]
Terminal: alacritty
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
GPU: NVIDIA GeForce GTX 1080 Ti
Memory: 3618MiB / 15905MiB
答案1
〜/ .bash_profile
export QT_QPA_PLATFORMTHEME="qt5ct"