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