From 563855b35d41305eb9647d687f5e57af6e66ac14 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 21 Jan 2023 22:30:11 +0530 Subject: up dpi --- home.nix | 5 ++++- programs/st/config.h | 6 +++--- x/xft.nix | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/home.nix b/home.nix index b5919a0..322e99a 100644 --- a/home.nix +++ b/home.nix @@ -60,6 +60,9 @@ cudatoolkit pciutils + # x + xinput_calibrator + # meta nixpkgs-review nixpkgs-fmt @@ -84,8 +87,8 @@ windowManager.command = "2bwm"; initExtra = '' ${pkgs.hsetroot}/bin/hsetroot -solid "${theme.base00}" + xrandr --dpi 288 xrdb -load $HOME/.Xresources - xrandr -dpi 192 ''; }; diff --git a/programs/st/config.h b/programs/st/config.h index dd36c64..a0811fa 100644 --- a/programs/st/config.h +++ b/programs/st/config.h @@ -225,9 +225,9 @@ static Shortcut shortcuts[] = { { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, - { TERMMOD, XK_Prior, zoom, {.f = +1} }, - { TERMMOD, XK_Next, zoom, {.f = -1} }, - { TERMMOD, XK_Home, zoomreset, {.f = 0} }, + { TERMMOD, XK_J, zoom, {.f = +1} }, + { TERMMOD, XK_K, zoom, {.f = -1} }, + { TERMMOD, XK_H, zoomreset, {.f = 0} }, { TERMMOD, XK_C, clipcopy, {.i = 0} }, { TERMMOD, XK_V, clippaste, {.i = 0} }, { TERMMOD, XK_Y, selpaste, {.i = 0} }, diff --git a/x/xft.nix b/x/xft.nix index 74ea87d..30fed14 100644 --- a/x/xft.nix +++ b/x/xft.nix @@ -11,6 +11,6 @@ "Xft.hintstyle" = "hintslight"; "Xft.hinting" = true; "Xft.rgba" = "rgb"; - "Xft.dpi" = 110; + "Xft.dpi" = 288; }; } -- cgit v1.2.3