Compare commits

...

3 commits

Author SHA1 Message Date
e1d000835e
hyfetch 2024-11-25 18:05:40 -08:00
430ae634f4
hidpi sddm. finally 2024-11-25 17:55:47 -08:00
9d87ae5a49
auto set console resolution 2024-11-25 16:51:49 -08:00
4 changed files with 9 additions and 2 deletions

View file

@ -21,7 +21,7 @@
# compatibility
wineWowPackages.waylandFull winetricks
# misc
bat file which packwiz yt-dlp wl-screenrec wl-clipboard grim
bat file which packwiz yt-dlp wl-screenrec wl-clipboard grim hyfetch
# games
prismlauncher
] ++ (with pkgs.my; [

View file

@ -23,6 +23,7 @@ in {
# bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.consoleMode = "auto";
boot.loader.efi.canTouchEfiVariables = true;
# enable networking
@ -38,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") {

View file

@ -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 = {

View file

@ -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;
};
});