From 09bbd78efe20dc6329ab6899a70b931f4506b558 Mon Sep 17 00:00:00 2001 From: Yannick7777 <87943421+Yannick7777@users.noreply.github.com> Date: Mon, 17 Feb 2025 14:21:00 +0100 Subject: [PATCH] set QT applications to darkmode by default --- .config/hypr/hyprland.conf | 1 + .config/qt6ct/qt6ct.conf | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .config/qt6ct/qt6ct.conf diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 5ba49ba..12644dc 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -69,6 +69,7 @@ env = HYPRCURSOR_SIZE,24 env = XCURSOR_SIZE,24 env = HYPRCURSOR_THEME,Adwaita env = XCURSOR_THEME,Adwaita +env = QT_QPA_PLATFORMTHEME, qt6ct cursor { diff --git a/.config/qt6ct/qt6ct.conf b/.config/qt6ct/qt6ct.conf new file mode 100644 index 0000000..e4074ad --- /dev/null +++ b/.config/qt6ct/qt6ct.conf @@ -0,0 +1,31 @@ +[Appearance] +color_scheme_path=/usr/share/qt6ct/colors/darker.conf +custom_palette=true +standard_dialogs=default +style=Fusion + +[Fonts] +fixed="Sans Serif,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1" +general="Sans Serif,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1" + +[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 + +[SettingsWindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xbf\0\0\x2!\0\0\0\0\0\0\0\0\0\0\x2\x7f\0\0\x1\x80\0\0\0\0\x2\0\0\0\x5\0\0\0\0\0\0\0\0\0\0\0\x2\xbf\0\0\x2!) + +[Troubleshooting] +force_raster_widgets=1 +ignored_applications=@Invalid()