fix: Hyprlock + Fonts

This commit is contained in:
Peritia 2026-03-02 15:57:29 +01:00
parent 8140497735
commit 240d02a58e
4 changed files with 30 additions and 10 deletions

View file

@ -10,7 +10,7 @@
./wofi
./hyprpaper
./eww
./hyprlock
./gtk-theme
];
}

View file

@ -90,7 +90,7 @@ in {
warnings = [">>> HYPRLOCK ACTIVE <<<"];
# warnings = [">>> HYPRLOCK ACTIVE <<<"];
programs.hyprlock = {

View file

@ -2,13 +2,12 @@
config,
lib,
pkgs,
nixosVista,
...
}: let
root = nixosVista;
cfg = config.nixosVista;
in {
config = lib.mkIf root.enable {
warnings = [">>> fonts ACTIVE <<<"];
config = lib.mkIf cfg.enable {
# warnings = [">>> fonts ACTIVE <<<"];
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono

View file

@ -85,6 +85,9 @@
preset = "default";
extra = [
# "bind = SUPER, RETURN, exec, kitty"
];
};
@ -98,12 +101,30 @@
];
};
windowRules = {
preset = "default";
extra = [];
};
windowRules = {
preset = "default";
extra = [
# Firefox Picture in Picture rules
"windowrule = float 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
"windowrule = size 800 450, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
"windowrule = pin 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
# "windowrule = nofullscreen 1, match:class ^(librewolf)$, match:title ^(Picture-in-Picture)$"
];
};
customBottom = ''
input {
kb_layout = de,us
kb_options = grp:alt_shift_toggle
}
'';
};
hyprlock.enable = true;
##########################################################
# Waybar
##########################################################