From a48763c70d17f35faf49eb366a486e90b9935021 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Fri, 7 Nov 2025 18:48:06 +0000 Subject: [PATCH] set monitor refresh rate to 120Hz cant set it to 144 because either the dGPU in this laptop or the MST hub its connected through doesn't have the bandwidth, and i get weird artifacting, just like i did on hyprland. it was at 60Hz before btw, so this should make animations look nicer in doing this niri decided it needed to rewrite the mimeapps file, so i added the imperative entries that had appeared in there to home.nix and now its all done properly :3 --- home-manager/home.nix | 8 ++++++++ home-manager/niri.nix | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/home-manager/home.nix b/home-manager/home.nix index d6ec31f..c6bd06d 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -53,6 +53,14 @@ "x-scheme-handler/https" = "librewolf.desktop"; "x-scheme-handler/about" = "librewolf.desktop"; "x-scheme-handler/unknown" = "librewolf.desktop"; + + "x-scheme-handler/tg" = "org.telegram.desktop.desktop"; + "x-scheme-handler/tonsite" = "org.telegram.desktop.desktop"; + + "x-scheme-handler/sgnl" = "org.signal.desktop"; + "x-scheme-handler/signalcaptcha" = "org.signal.desktop"; + + "x-scheme-handler/discord" = "vesktop.desktop"; }; }; diff --git a/home-manager/niri.nix b/home-manager/niri.nix index 8c10f5c..7c4516d 100644 --- a/home-manager/niri.nix +++ b/home-manager/niri.nix @@ -41,6 +41,11 @@ x = 960; y = -1080; }; + mode = { + width = 1920; + height = 1080; + refresh = 119.982; + }; }; "Lenovo Group Limited LEN G24-10 U5B4KL78" = { #name = "left_monitor"; @@ -48,6 +53,11 @@ x = -960; y = -1080; }; + mode = { + width = 1920; + height = 1080; + refresh = 119.982; + }; }; }; workspaces = {