about summary refs log tree commit diff
path: root/modules/user/aszlig/services
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2023-04-09 01:18:48 +0200
committeraszlig <aszlig@nix.build>2023-04-09 01:26:02 +0200
commite0cb068a4bbad0beda3b5c8c8a25aa37df631d40 (patch)
tree07cb31e2ed50fb04c79c5f2e79dda4097606db62 /modules/user/aszlig/services
parent7cef6a096dd42440952f8e5edb6c5813dec28766 (diff)
slylandro: Remove hidpi specific settings for now
This reverts commit c88fd9eaa12c8a3c06502b09c2056d3c91421952.

The hardware.video.hidpi.enable option was removed a while ago[1]
because it's not clear what a single boolean option should mean, so it
doesn't make sense anymore to make any of our options depend on it.

Forthermore, I'm experimenting with different Wayland compositors at the
moment and most of the stuff that I did here is for Xorg. I expect most
of the stuff to be gone when I'm settled with a Wayland setup that works
for me.

[1]: https://github.com/NixOS/nixpkgs/pull/222689

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules/user/aszlig/services')
-rw-r--r--modules/user/aszlig/services/i3/default.nix2
-rw-r--r--modules/user/aszlig/services/i3/i3.conf2
2 files changed, 1 insertions, 3 deletions
diff --git a/modules/user/aszlig/services/i3/default.nix b/modules/user/aszlig/services/i3/default.nix
index 503b192b..d11140dd 100644
--- a/modules/user/aszlig/services/i3/default.nix
+++ b/modules/user/aszlig/services/i3/default.nix
@@ -117,8 +117,6 @@ in
         inherit (pkgs.xorg) xsetroot;
         inherit wsConfig barConfig;
 
-        faceSize = if config.hardware.video.hidpi.enable then 10 else 12;
-
         # XXX: Decouple this by making the i3 bindsym directives available to
         #      the NixOS module system.
         flameshot = config.vuizvui.user.aszlig.programs.flameshot.package;
diff --git a/modules/user/aszlig/services/i3/i3.conf b/modules/user/aszlig/services/i3/i3.conf
index e3be7b23..1ace36ae 100644
--- a/modules/user/aszlig/services/i3/i3.conf
+++ b/modules/user/aszlig/services/i3/i3.conf
@@ -2,7 +2,7 @@
 set $mod Mod4
 
 # we want to have a VT-style font :-)
-font pango:MxPlus IBM VGA 8x16 @faceSize@
+font pango:MxPlus IBM VGA 8x16 12
 
 # Use Mouse+$mod to drag floating windows to their wanted position
 floating_modifier $mod