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