mirror of
https://github.com/nmasur/dotfiles
synced 2025-05-10 19:25:52 +00:00
fix: rofi power menu glyphs cut off
the main issue is that i wasn't using the "mono" version of the nerd font for hack. the font characters are not reported with the correct fixed width which causes issues in rendering.
This commit is contained in:
parent
5d539abe21
commit
12c9342748
@ -5,7 +5,7 @@
|
||||
|
||||
* {
|
||||
/* General */
|
||||
font: "Hack Nerd Font 60";
|
||||
font: "Hack Nerd Font Mono 60";
|
||||
|
||||
/* option menus: i3-layout, music, power and screenshot
|
||||
*
|
||||
@ -13,7 +13,6 @@
|
||||
* around using this character: ■
|
||||
* We then add add 100 actual padding around the icons.
|
||||
* -12px 0px -19px -96px */
|
||||
option-element-padding: 1% 1% 1% 1%;
|
||||
option-5-window-padding: 4% 4%;
|
||||
option-5-listview-spacing: 15px;
|
||||
|
||||
@ -46,7 +45,7 @@
|
||||
layout: horizontal;
|
||||
}
|
||||
element {
|
||||
padding: 40px 68px 43px 30px;
|
||||
padding: 40px 62px 40px 36px;
|
||||
}
|
||||
#window {
|
||||
padding: 20px;
|
||||
|
@ -226,7 +226,7 @@ in
|
||||
"module/power" = {
|
||||
type = "custom/text";
|
||||
content = " ";
|
||||
click-left = config.nmasur.presets.services.i3.commands.toggleBar;
|
||||
click-left = config.nmasur.presets.services.i3.commands.power;
|
||||
click-right = "polybar-msg cmd restart";
|
||||
content-foreground = config.theme.colors.base04;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user