nix/home/file/sway/module/TitleBar.nix

14 lines
272 B
Nix

{ config, ... }:
let
borderSize = toString config.module.style.window.border;
in
{
text = ''
# Disable title bar.
default_border pixel ${borderSize}
default_floating_border pixel ${borderSize}
titlebar_padding 1
titlebar_border_thickness 0
'';
}