Compare commits

...

2 commits

Author SHA1 Message Date
outfoxxed 238d939d8e
Disable fcitx5 clipboard 2024-01-14 03:30:27 -08:00
outfoxxed e086b08f45
Fix qml themes 2024-01-02 03:36:10 -08:00
3 changed files with 27 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ self, config, pkgs, ... }: {
{ self, lib, config, pkgs, ... }: {
environment.systemPackages = with pkgs; [
qt5ct
breeze-qt5
@ -6,8 +6,16 @@
breeze-icons
];
environment.variables = {
environment.variables = let
qmlPackages = with pkgs; [
plasma5Packages.qqc2-desktop-style
plasma5Packages.kirigami2
];
qtVersion = pkgs.qt515.qtbase.version;
in {
"QT_QPA_PLATFORMTHEME" = "qt5ct";
"QML2_IMPORT_PATH" = "${lib.concatStringsSep ":" (builtins.map (p: "${p}/lib/qt-${qtVersion}/qml") qmlPackages)}";
};
home-manager.users.${config.main-user} = {

View file

@ -1,7 +1,5 @@
# Vertical Candidate List
Vertical Candidate List=False
# Use Per Screen DPI
PerScreenDPI=True
# Use mouse wheel to go to prev or next page
WheelForPaging=True
# Font
@ -19,9 +17,19 @@ PreferTextIcon=False
# Show Layout Name In Icon
ShowLayoutNameInIcon=True
# Use input method language to display text
UseInputMethodLangaugeToDisplayText=True
UseInputMethodLanguageToDisplayText=True
# Theme
Theme=plasma
# Dark Theme
DarkTheme=plasma
# Follow system light/dark color scheme
UseDarkTheme=False
# Follow system accent color if it is supported by theme and desktop
UseAccentColor=True
# Use Per Screen DPI on X11
PerScreenDPI=True
# Force font DPI on Wayland
ForceWaylandDPI=0
# Enable fractional scale under Wayland
EnableFractionalScale=True

View file

@ -59,4 +59,10 @@ EnabledAddons=
DisabledAddons=
# Preload input method to be used by default
PreloadInputMethod=True
# Allow input method in the password field
AllowInputMethodForPassword=False
# Show preedit text when typing password
ShowPreeditForPassword=False
# Interval of saving user data in minutes
AutoSavePeriod=30