diff options
author | Akshay <[email protected]> | 2023-01-21 17:00:11 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2023-01-21 17:00:11 +0000 |
commit | 563855b35d41305eb9647d687f5e57af6e66ac14 (patch) | |
tree | c3ddb9608d09663e02c94fbce00c4eb7c6701e7a | |
parent | 147b6f12adf59eaa699ebb3d56d2f1c6dfb26c48 (diff) |
up dpi
-rw-r--r-- | home.nix | 5 | ||||
-rw-r--r-- | programs/st/config.h | 6 | ||||
-rw-r--r-- | x/xft.nix | 2 |
3 files changed, 8 insertions, 5 deletions
@@ -60,6 +60,9 @@ | |||
60 | cudatoolkit | 60 | cudatoolkit |
61 | pciutils | 61 | pciutils |
62 | 62 | ||
63 | # x | ||
64 | xinput_calibrator | ||
65 | |||
63 | # meta | 66 | # meta |
64 | nixpkgs-review | 67 | nixpkgs-review |
65 | nixpkgs-fmt | 68 | nixpkgs-fmt |
@@ -84,8 +87,8 @@ | |||
84 | windowManager.command = "2bwm"; | 87 | windowManager.command = "2bwm"; |
85 | initExtra = '' | 88 | initExtra = '' |
86 | ${pkgs.hsetroot}/bin/hsetroot -solid "${theme.base00}" | 89 | ${pkgs.hsetroot}/bin/hsetroot -solid "${theme.base00}" |
90 | xrandr --dpi 288 | ||
87 | xrdb -load $HOME/.Xresources | 91 | xrdb -load $HOME/.Xresources |
88 | xrandr -dpi 192 | ||
89 | ''; | 92 | ''; |
90 | }; | 93 | }; |
91 | 94 | ||
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[] = { | |||
225 | { ControlMask, XK_Print, toggleprinter, {.i = 0} }, | 225 | { ControlMask, XK_Print, toggleprinter, {.i = 0} }, |
226 | { ShiftMask, XK_Print, printscreen, {.i = 0} }, | 226 | { ShiftMask, XK_Print, printscreen, {.i = 0} }, |
227 | { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, | 227 | { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, |
228 | { TERMMOD, XK_Prior, zoom, {.f = +1} }, | 228 | { TERMMOD, XK_J, zoom, {.f = +1} }, |
229 | { TERMMOD, XK_Next, zoom, {.f = -1} }, | 229 | { TERMMOD, XK_K, zoom, {.f = -1} }, |
230 | { TERMMOD, XK_Home, zoomreset, {.f = 0} }, | 230 | { TERMMOD, XK_H, zoomreset, {.f = 0} }, |
231 | { TERMMOD, XK_C, clipcopy, {.i = 0} }, | 231 | { TERMMOD, XK_C, clipcopy, {.i = 0} }, |
232 | { TERMMOD, XK_V, clippaste, {.i = 0} }, | 232 | { TERMMOD, XK_V, clippaste, {.i = 0} }, |
233 | { TERMMOD, XK_Y, selpaste, {.i = 0} }, | 233 | { TERMMOD, XK_Y, selpaste, {.i = 0} }, |
@@ -11,6 +11,6 @@ | |||
11 | "Xft.hintstyle" = "hintslight"; | 11 | "Xft.hintstyle" = "hintslight"; |
12 | "Xft.hinting" = true; | 12 | "Xft.hinting" = true; |
13 | "Xft.rgba" = "rgb"; | 13 | "Xft.rgba" = "rgb"; |
14 | "Xft.dpi" = 110; | 14 | "Xft.dpi" = 288; |
15 | }; | 15 | }; |
16 | } | 16 | } |