hidpi sddm. finally
This commit is contained in:
parent
9d87ae5a49
commit
430ae634f4
3 changed files with 7 additions and 1 deletions
|
@ -39,7 +39,9 @@ in {
|
|||
|
||||
# various evironment variables that are needed for everything desktop related
|
||||
environment.sessionVariables = {
|
||||
MOZ_DISABLE_RDD_SANDBOX = "1";
|
||||
# automatic hidpi for qt apps
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||
QT_ENABLE_HIGHDPI_SCALING = "1";
|
||||
};
|
||||
}
|
||||
(mkIf (cfg.envProto == "wayland") {
|
||||
|
|
|
@ -16,9 +16,12 @@ in {
|
|||
libsForQt5.qt5.qtgraphicaleffects
|
||||
libsForQt5.qt5.qtquickcontrols2
|
||||
];
|
||||
# why do we need kwin for working hidpi
|
||||
# huh????
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = config.modules.desktop.envProto == "wayland";
|
||||
wayland.compositor = "kwin";
|
||||
theme = config.modules.desktop.themes.sddmTheme.name;
|
||||
settings = {
|
||||
Theme = {
|
||||
|
|
|
@ -47,6 +47,7 @@ in {
|
|||
package = (pkgs.my.catppuccin-sddm-corners.override {
|
||||
config.General = {
|
||||
Background = ../../../../assets/lockscreen.png;
|
||||
GeneralFontSize = toString config.modules.desktop.fonts.fonts.sansSerif.size;
|
||||
Font = config.modules.desktop.fonts.fonts.sansSerif.family;
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue