Skip to content

Commit

Permalink
Bigger fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustXVI committed Dec 29, 2024
1 parent af38f07 commit 8e28c52
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 16 deletions.
58 changes: 47 additions & 11 deletions modules/system/home-manager/gui/i3.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,62 @@
{ pkgs, ... }:
{ pkgs, lib, config, ... }:
let
modifier = "Mod4";
font = lib.lists.head config.fonts.fontconfig.defaultFonts.monospace;
fonts = {
names = [ font ];
size = 14.0;
};
in
{
home.file.".background-image".source = ./background-image;
programs = {
i3status = {
enable = true;
};
};
xsession.windowManager.i3 = {
enable = true;
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
config = {
inherit modifier;
inherit modifier fonts;
assigns = {
"1" = [{ class = "(?i)firefox"; }];
};
fonts = {
names = [ "pango:monospace" ];
size = 8.0;
};
bars = [{
inherit fonts;
mode = "dock";
hiddenState = "hide";
position = "bottom";
workspaceButtons = true;
workspaceNumbers = true;
statusCommand = "${pkgs.i3status}/bin/i3status";
trayOutput = "primary";
colors = {
background = "#000000";
statusline = "#ffffff";
separator = "#666666";
focusedWorkspace = {
border = "#4c7899";
background = "#285577";
text = "#ffffff";
};
activeWorkspace = {
border = "#333333";
background = "#5f676a";
text = "#ffffff";
};
inactiveWorkspace = {
border = "#333333";
background = "#222222";
text = "#888888";
};
urgentWorkspace = {
border = "#2f343a";
background = "#900000";
text = "#ffffff";
};
bindingMode = {
border = "#2f343a";
background = "#900000";
text = "#ffffff";
};
};
}];
keybindings = {
# start a terminal
"${modifier}+Return" = "exec wezterm";
Expand Down
2 changes: 1 addition & 1 deletion modules/system/home-manager/shells/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
};
bat = {
enable = true;
extraPackages = with pkgs.bat-extras; [ batman batgrep ];
extraPackages = with pkgs.bat-extras; [ batman batgrep ];
};
btop = {
enable = true;
Expand Down
8 changes: 4 additions & 4 deletions modules/system/home-manager/shells/terminator.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ ... }:
{ lib, config, ... }:
let
font = "Fira Code Light 16";
font = lib.lists.head config.fonts.fontconfig.defaultFonts.monospace;
black = "#111111";
white = "#eeeeee";
cursor = "#999999";
Expand All @@ -19,15 +19,15 @@ in
"default" = {
foreground_color = "${white}";
cursor_color = "${cursor}";
font = "${font}";
font = "${font} 18";
scrollback_infinite = true;
use_system_font = false;
};
"projector" = {
foreground_color = "${black}";
background_color = "${white}";
cursor_color = "${cursor}";
font = "${font}";
font = "${font} 18";
scrollback_infinite = true;
use_system_font = false;
};
Expand Down

0 comments on commit 8e28c52

Please sign in to comment.