From d328d8acc452f1d22dd6395e82e616aa4605fd38 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 22 Jan 2023 09:25:24 +0530 Subject: rework sizing; enable powertop --- home.nix | 2 +- hosts/myrtle/configuration.nix | 4 +++- programs/st/config.h | 2 +- services/dunst.nix | 2 +- x/xft.nix | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/home.nix b/home.nix index 322e99a..2cd58a5 100644 --- a/home.nix +++ b/home.nix @@ -87,7 +87,7 @@ windowManager.command = "2bwm"; initExtra = '' ${pkgs.hsetroot}/bin/hsetroot -solid "${theme.base00}" - xrandr --dpi 288 + xrandr --dpi 192 xrdb -load $HOME/.Xresources ''; }; diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix index 8803649..2f47776 100644 --- a/hosts/myrtle/configuration.nix +++ b/hosts/myrtle/configuration.nix @@ -103,7 +103,9 @@ enable = true; enableUserService = true; }; - services.supergfxd.enable = true; + services.supergfxd.enable = false; + + powerManagement.powertop.enable = true; users.users.np = { isNormalUser = true; diff --git a/programs/st/config.h b/programs/st/config.h index a0811fa..c9fca58 100644 --- a/programs/st/config.h +++ b/programs/st/config.h @@ -6,7 +6,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Nerd Input:pixelsize=30:antialias=true:autohint=true"; +static char *font = "Nerd Input:pixelsize=44:antialias=true:autohint=true"; static int borderpx = 30; /* diff --git a/services/dunst.nix b/services/dunst.nix index 570beba..b8bda7f 100644 --- a/services/dunst.nix +++ b/services/dunst.nix @@ -10,7 +10,7 @@ with theme; enable = true; settings = { global = { - font = "Input 9"; + font = "Nerd Input 12"; allow_markup = "no"; format = ''%s\n%b''; sort = "yes"; diff --git a/x/xft.nix b/x/xft.nix index 30fed14..32a1957 100644 --- a/x/xft.nix +++ b/x/xft.nix @@ -11,6 +11,6 @@ "Xft.hintstyle" = "hintslight"; "Xft.hinting" = true; "Xft.rgba" = "rgb"; - "Xft.dpi" = 288; + "Xft.dpi" = 192; }; } -- cgit v1.2.3