diff --git a/ansible/roles/profile_desktop_common/tasks/main.yml b/ansible/roles/profile_desktop_common/tasks/main.yml index 91b0d24..fc50967 100644 --- a/ansible/roles/profile_desktop_common/tasks/main.yml +++ b/ansible/roles/profile_desktop_common/tasks/main.yml @@ -434,6 +434,18 @@ - "{{ user_home }}/Maildir/iCloudAccount" - "{{ user_home }}/Maildir/ProtonMailAccount" +- name: Make Qt apps follow the GTK theme + tags: [theme] + ansible.builtin.copy: + dest: /etc/profile.d/10-qt-theme.sh + content: | + # Use the gtk3 Qt platform theme so Qt5/Qt6 widgets, file dialogs, + # icon theme and color scheme follow ~/.config/gtk-3.0/settings.ini. + export QT_QPA_PLATFORMTHEME=gtk3 + owner: root + group: root + mode: "0644" + - name: Ensure flathub remote is configured tags: [packages] community.general.flatpak_remote: diff --git a/dotfiles/nymph/.config/sway/session-env b/dotfiles/nymph/.config/sway/session-env index 4a16e3a..c1c85f7 100644 --- a/dotfiles/nymph/.config/sway/session-env +++ b/dotfiles/nymph/.config/sway/session-env @@ -1,6 +1,5 @@ export LIBVA_DRIVER_NAME=iHD export QT_QPA_PLATFORM=wayland -export QT_QPA_PLATFORMTHEME=qt6ct export SWAY_UNSUPPORTED_GPU=1 export WLR_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1 export WLR_NO_HARDWARE_CURSORS=1