nix/home/config/sway/module/TitleBar.nix

12 lines
252 B
Nix
Raw Normal View History

2024-06-25 04:04:39 +03:00
{ config, ... }: let
2024-06-29 18:05:39 +03:00
borderSize = toString config.style.window.border;
2024-05-07 03:22:01 +03:00
in {
2024-04-06 03:03:58 +03:00
text = ''
# Disable title bar.
2024-05-07 03:22:01 +03:00
default_border pixel ${borderSize}
default_floating_border pixel ${borderSize}
2024-04-06 03:03:58 +03:00
titlebar_padding 1
titlebar_border_thickness 0
'';
}