sway/waybar: Use html entity for thinsp
This also moves it to waybar’s let binding, since it is only needed there.
This commit is contained in:
parent
c0a130fa59
commit
4923f70389
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue