sway/waybar: Use html entity for thinsp

This also moves it to waybar’s let binding, since it is only needed
there.
pull/48/head
Simon Bruder 2021-03-03 21:49:35 +01:00
parent c0a130fa59
commit 4923f70389
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,6 @@ let
wallpaper = if nixosConfig.sbruder.unfree.allowAssets then wallpaperUnfree else wallpaperFree;
cfg = config.wayland.windowManager.sway.config;
thinsp = "";
in
lib.mkIf nixosConfig.sbruder.gui.enable {
wayland.windowManager.sway = {
@ -310,6 +309,9 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
# nerd fonts are abusing arabic which breaks latin text
# context: https://github.com/Alexays/Waybar/issues/628
lrm = "‎";
# for fine-grained control over spacing
thinsp = " ";
in
lib.generators.toJSON { } {
layer = "top";