Skip to content

Commit

Permalink
waybar: pango line_height
Browse files Browse the repository at this point in the history
  • Loading branch information
mobsenpai committed Jul 24, 2024
1 parent 65b795f commit abd1d6d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/home-manager/programs/waybar.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ in

settings = {
bar = let
formatIcon = bg: fg: icon: "<span background='${bg}' foreground='${fg}'> ${icon} </span>";
formatText = bg: fg: text: "<span background='${bg}' foreground='${fg}'> ${text} </span>";
formatIcon = bg: fg: icon: "<span line_height='1.1' background='${bg}' foreground='${fg}'> ${icon} </span>";
formatText = bg: fg: text: "<span line_height='1.1' background='${bg}' foreground='${fg}'> ${text} </span>";
in {
exclusive = true;
fixed-center = true;
Expand Down Expand Up @@ -202,7 +202,7 @@ in
}
window#waybar > box {
padding: 2px;
padding: 3px;
}
#clock,
Expand Down

0 comments on commit abd1d6d

Please sign in to comment.