From feb8dfaae9b0172c9d24e7e0d115754a467b4627 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 26 Jan 2026 16:41:16 -0600 Subject: feat(themes): add Qt theming and font packages - Configure Qt5/Qt6 to use Adwaita-Dark style via adwaita-qt - Add qt6ct.conf with matching settings to qt5ct - Set QT_STYLE_OVERRIDE for consistent dark theme - Add XCURSOR_THEME to hyprland.conf - Update pinentry-dmenu to use BerkeleyMono Nerd Font - Add font packages to archsetup: cantarell-fonts, ttf-caladea, ttf-carlito, ttf-croscore Co-Authored-By: Claude Opus 4.5 --- archsetup | 4 ++++ dotfiles/hyprland/.config/hypr/hyprland.conf | 1 + dotfiles/system/.config/qt6ct/qt6ct.conf | 29 ++++++++++++++++++++++++++++ dotfiles/system/.gnupg/pinentry-dmenu.conf | 2 +- dotfiles/system/.profile.d/display.sh | 3 ++- 5 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 dotfiles/system/.config/qt6ct/qt6ct.conf diff --git a/archsetup b/archsetup index 9e849dc..9e03a8b 100755 --- a/archsetup +++ b/archsetup @@ -1424,7 +1424,11 @@ desktop_environment() { # Fonts action="Fonts" && display "subtitle" "$action" + pacman_install cantarell-fonts pacman_install noto-fonts-emoji + pacman_install ttf-caladea # Cambria replacement + pacman_install ttf-carlito # Calibri replacement + pacman_install ttf-croscore # Chrome OS fonts (Arimo, Cousine, Tinos) pacman_install terminus-font pacman_install ttf-firacode-nerd pacman_install ttf-hack-nerd diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index 3f528ae..390d905 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -28,6 +28,7 @@ exec-once = insync start # Environment Variables # ============================================================================ env = XCURSOR_SIZE,24 +env = XCURSOR_THEME,capitaine-cursors-light env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland diff --git a/dotfiles/system/.config/qt6ct/qt6ct.conf b/dotfiles/system/.config/qt6ct/qt6ct.conf new file mode 100644 index 0000000..496c09d --- /dev/null +++ b/dotfiles/system/.config/qt6ct/qt6ct.conf @@ -0,0 +1,29 @@ +[Appearance] +color_scheme_path=/usr/share/qt6ct/colors/darker.conf +custom_palette=true +icon_theme=Papirus-Dark +standard_dialogs=default +style=Adwaita-Dark + +[Fonts] +fixed="Cantarell,11,-1,5,50,0,0,0,0,0" +general="Cantarell,11,-1,5,50,0,0,0,0,0" + +[Interface] +activate_item_on_single_click=1 +buttonbox_layout=0 +cursor_flash_time=1000 +dialog_buttons_have_icons=1 +double_click_interval=400 +gui_effects=@Invalid() +keyboard_scheme=2 +menus_have_icons=true +show_shortcuts_in_context_menus=true +stylesheets=@Invalid() +toolbutton_style=4 +underline_shortcut=1 +wheel_scroll_lines=3 + +[Troubleshooting] +force_raster_widgets=1 +ignored_applications=@Invalid() diff --git a/dotfiles/system/.gnupg/pinentry-dmenu.conf b/dotfiles/system/.gnupg/pinentry-dmenu.conf index d931896..ccd4d55 100644 --- a/dotfiles/system/.gnupg/pinentry-dmenu.conf +++ b/dotfiles/system/.gnupg/pinentry-dmenu.conf @@ -1,6 +1,6 @@ asterisk= "* "; prompt = "$"; -font = "Fira Code Nerd Font Mono:size=12"; +font = "BerkeleyMono Nerd Font:size=12"; prompt_fg = "#eeeeee"; prompt_bg = "#d9904a"; normal_fg = "#ffffff"; diff --git a/dotfiles/system/.profile.d/display.sh b/dotfiles/system/.profile.d/display.sh index df5a57c..dbc3846 100644 --- a/dotfiles/system/.profile.d/display.sh +++ b/dotfiles/system/.profile.d/display.sh @@ -9,6 +9,7 @@ export GTK_THEME=Adwaita:dark XDG_CURRENT_DESKTOP=GNOME -# export QT_QPA_PLATFORMTHEME=qt5ct +# Qt theming - qt6ct for Qt6 apps, style override for consistent Adwaita-Dark export QT_QPA_PLATFORMTHEME=qt6ct +export QT_STYLE_OVERRIDE=Adwaita-Dark export QT_SCALE_FACTOR=1 -- cgit v1.2.3