Foot : Add padding.
This commit is contained in:
parent
58eb4a4752
commit
bb8b493bdd
|
@ -1,5 +1,6 @@
|
|||
{ config, pkgs, ... }: let
|
||||
dpiAware = if config.setting.dpiAware then "yes" else "no";
|
||||
borderSize = toString config.style.window.border;
|
||||
fontStep = 1;
|
||||
in {
|
||||
file = (pkgs.formats.iniWithGlobalSection {}).generate "FootConfig" {
|
||||
|
@ -10,6 +11,7 @@ in {
|
|||
font-bold-italic = "${config.style.font.monospace.name}:size=${toString config.style.font.size.terminal}";
|
||||
dpi-aware = dpiAware;
|
||||
font-size-adjustment = fontStep;
|
||||
pad = "${borderSize}x${borderSize} center";
|
||||
};
|
||||
|
||||
sections = {
|
||||
|
|
Loading…
Reference in a new issue