summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-08-28 15:57:14 +0530
committersinanmohd <sinan@sinanmohd.com>2024-08-28 16:17:01 +0530
commit1f85635197a521329ffb7b5b37820fece5a6d9c6 (patch)
tree37b67eac4f7d0b0da0e1bbc0f6d394e12d102276
parent85d20e8e0fb967496777c75f6dcfb66f9687549f (diff)
home/cez/wayland: use fractional scaling
-rw-r--r--global/cez/default.nix4
-rw-r--r--home/cez/modules/wayland.nix10
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;
}