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 ./wofi
./hyprpaper ./hyprpaper
./eww ./eww
./hyprlock
./gtk-theme ./gtk-theme
]; ];
} }

View file

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

View file

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

View file

@ -85,6 +85,9 @@
preset = "default"; preset = "default";
extra = [ extra = [
# "bind = SUPER, RETURN, exec, kitty" # "bind = SUPER, RETURN, exec, kitty"
]; ];
}; };
@ -100,10 +103,28 @@
windowRules = { windowRules = {
preset = "default"; preset = "default";
extra = [];
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 # Waybar
########################################################## ##########################################################