Compare commits

...

2 commits

Author SHA1 Message Date
Joseph DiGiovanni b9f41f465b Update flake 2024-08-05 01:04:22 -04:00
Joseph DiGiovanni 37c50bfbb9 Change console font 2024-08-05 01:03:02 -04:00
2 changed files with 14 additions and 14 deletions

View file

@ -232,11 +232,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1722388556,
"narHash": "sha256-90/qzsfqtXbHk3vshBQkJdymG/IY7S6RqqYpQU2GB8Y=",
"lastModified": 1722821408,
"narHash": "sha256-FMCo35ZmMfvAcae+9neKfu6QzXjU3WL6vW2OFMXx6wI=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "af75b047c7e12cbd5484190900e6216b5ebe68e2",
"rev": "f25962fbd632afea744dc7e6868f24d2e73ccedb",
"type": "github"
},
"original": {
@ -279,11 +279,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1722185531,
"narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=",
"lastModified": 1722630782,
"narHash": "sha256-hMyG9/WlUi0Ho9VkRrrez7SeNlDzLxalm9FwY7n/Noo=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d",
"rev": "d04953086551086b44b6f3c6b7eeb26294f207da",
"type": "github"
},
"original": {
@ -311,11 +311,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1722221733,
"narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
"lastModified": 1722651103,
"narHash": "sha256-IRiJA0NVAoyaZeKZluwfb2DoTpBAj+FLI0KfybBeDU0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "12bf09802d77264e441f48e25459c10c93eada2e",
"rev": "a633d89c6dc9a2a8aae11813a62d7c58b2c0cc51",
"type": "github"
},
"original": {

View file

@ -4,9 +4,9 @@
dconf.settings = {
"org/gnome/Console" =
let
fontSize = 10;
fontWidth = fontSize * 0.8;
lineSpacing = fontSize * 0.4 * 2; # Each line has a space of 0.4em above and below it
fontSize = 12;
fontWidth = 8;
lineSpacing = 2 * 2; # Each line has a space above and below it
terminalMode = {
# Based on VT100 video modes
@ -19,11 +19,11 @@
terminalSize = terminalMode.extended;
in
{
custom-font = "Source Code Pro " + toString fontSize;
custom-font = "Unifont " + toString fontSize;
last-window-size = with builtins; lib.hm.gvariant.mkTuple [
(ceil ((elemAt terminalSize 0 * fontWidth) + 12))
(ceil ((elemAt terminalSize 1 * (fontSize + lineSpacing)) + 48))
(ceil (((elemAt terminalSize 1 + .5) * (fontSize + lineSpacing)) + 48))
];
theme = "night";