From 1f85635197a521329ffb7b5b37820fece5a6d9c6 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 28 Aug 2024 15:57:14 +0530 Subject: home/cez/wayland: use fractional scaling --- global/cez/default.nix | 4 ++-- home/cez/modules/wayland.nix | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/global/cez/default.nix b/global/cez/default.nix index f4fca99..0463acb 100644 --- a/global/cez/default.nix +++ b/global/cez/default.nix @@ -1,6 +1,6 @@ { ... }: { global.font = { - sans.size = 13; - monospace.size = 18; + sans.size = 10; + monospace.size = 13; }; } diff --git a/home/cez/modules/wayland.nix b/home/cez/modules/wayland.nix index 431746c..af4bb89 100644 --- a/home/cez/modules/wayland.nix +++ b/home/cez/modules/wayland.nix @@ -2,9 +2,11 @@ wayland-scripts = pkgs.callPackage ../../wayland/pkgs/wayland-scripts {}; freezshot = "${wayland-scripts}/bin/freezshot"; in { - # vendor hardcoded screenshot key - wayland.windowManager.sway.settings.bindsym."mod4+shift+s" = - "exec ${freezshot}"; + wayland.windowManager.sway.settings = { + # vendor hardcoded screenshot key + bindsym."mod4+shift+s" = "exec ${freezshot}"; + output."eDP-1".scale = 1.4; + }; - programs.bemenu.settings.line-height = 30; + programs.bemenu.settings.line-height = 25; } -- cgit v1.2.3