Only scale on aloria

This commit is contained in:
Thomas Avé 2026-05-07 20:27:56 +07:00
parent 006e6e8302
commit 93c4f032c7
Signed by: thomasave
SSH Key Fingerprint: SHA256:bvIbWy6TO9+PdMTPzWy6dqkRlVQ3eSky+vQcc9aRIiE
3 changed files with 7 additions and 5 deletions

View File

@ -15,7 +15,7 @@
};
in {
imports = [
(import ./utils/desktop.nix {inherit inputs config pkgs;})
(import ./utils/desktop.nix {inherit inputs config pkgs; scale = 1.2;})
(import ./utils/fzgo_links.nix {inherit config pkgs fzgo_paths;})
];

View File

@ -1,4 +1,4 @@
{pkgs, ...}: let
{pkgs, scale ? null, ...}: let
terminal = "${pkgs.foot}/bin/footclient";
nautilus = "${pkgs.nautilus}/bin/nautilus";
playerctl = "${pkgs.playerctl}/bin/playerctl";
@ -141,10 +141,11 @@ in {
focus-follows-mouse max-scroll-amount="10%"
warp-mouse-to-focus
}
${if scale != null then ''
output "eDP-1" {
scale 1.2
scale ${toString scale}
}
window-rule {
'' else ""} window-rule {
match app-id="vicinae"
open-floating true
}

View File

@ -2,13 +2,14 @@
inputs,
config,
pkgs,
scale ? null,
...
}: {
imports = [
(import ./common.nix {inherit inputs config pkgs;})
(import ./python.nix {inherit inputs config pkgs;})
# (import ../hyprland {inherit inputs pkgs;})
(import ../niri {inherit inputs config pkgs;})
(import ../niri {inherit inputs config pkgs scale;})
(import ../ags {inherit inputs pkgs;})
../rofi
../vicinae