Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question regarding net block up/down icon size #238

Closed
ammgws opened this issue Aug 15, 2018 · 10 comments
Closed

Question regarding net block up/down icon size #238

ammgws opened this issue Aug 15, 2018 · 10 comments

Comments

@ammgws
Copy link
Collaborator

ammgws commented Aug 15, 2018

Are the up/down icons meant to be so small?
image

Info:

  • 4.17.14-arch1-1-ARCH
  • sway version 0.15.2
  • i3status-rust-git 0.9.0.r514.g2ec4cbb-1 (from AUR)
> cat ~/.config/i3status-rust/config.toml | grep icons
icons = "awesome"
> cat ~/.config/sway/config | grep -A 10 bar
# ┃ Status bar
# ┗━━━━━━━━━━━━━━━━━━━━━━━━┛
# Read `man 5 sway-bar` for more information about this section.
bar {
    font pango:DejaVu Sans Mono, FontAwesome 10
    position top
    status_command i3status-rs $XDG_CONFIG_HOME/i3status-rust/config.toml
    colors {
        statusline #ffffff
        background #323232
        inactive_workspace #32323200 #32323200 #5c5c5c
    }
}
> fc-match FontAwesome
FontAwesome.otf: "FontAwesome" "Regular"
> trizen -Ss ttf-font-awesome-4
aur/ttf-font-awesome-4 4.7.0-5 [installed] [26+] [1.89%] [12 Jan 2018]
    100% free version of font awesome.
> trizen -Ss powerline-fonts
community/powerline-fonts 2.7-1 [installed]
    patched fonts for powerline
@atheriel
Copy link
Collaborator

No, I don't think they are supposed to be that small.

@atheriel
Copy link
Collaborator

... the amount of time we spend trying to debug font issues in this repo is concerning.

@uinput
Copy link
Contributor

uinput commented Aug 15, 2018

I can reproduce this on sway, but I don't have an i3 setup right now. Can someone confirm on i3?

@ammgws
Copy link
Collaborator Author

ammgws commented Aug 16, 2018

Still the same in i3.
image

> cat ~/.config/i3/config | grep -A 10 i3bar                                                                                                                             
# Start i3bar to display a workspace bar (plus the system information i3status finds out, if available)
bar {
  font pango:DejaVu Sans Mono, FontAwesome 10
  position top
  status_command i3status-rs $XDG_CONFIG_HOME/i3status-rust/config.toml
  colors {
    statusline #ffffff
    background #323232
    inactive_workspace #32323200 #32323200 #5c5c5c
  }
}
> trizen -Ss i3 | grep installed                                                                                                                                         
community/i3-gaps 4.15.0.1-2 [i3] [installed]
community/i3blocks 1.4-6 [i3] [installed]
community/i3lock 2.10-1 [i3] [installed]
community/i3status 2.12-1 [i3] [installed]
community/sway 0.15.2-2 [installed]
aur/i3status-rust-git 0.9.0.r514.g2ec4cbb-1 [installed: 0.9.0.r511.g346e5d8-1] [8+] [0.86%] [15 Aug 2018]

@ammgws
Copy link
Collaborator Author

ammgws commented Sep 6, 2018

Can anyone share a screenshot of how it should look?

@atheriel
Copy link
Collaborator

atheriel commented Sep 6, 2018

screenshot

This is what mine looks like. Font is pango:Iosevka, FontAwesome 9. I'm running the 1.0-alpha of sway but it was the same before. Master branch of this project, but again it's been unchanged for ages. I'll dig into the font a bit more.

@atheriel
Copy link
Collaborator

atheriel commented Sep 6, 2018

$ pacaur -Ss ttf-font-awesome
community/ttf-font-awesome 5.2.0-1
    Iconic font designed for Bootstrap
aur/ttf-font-awesome-4 4.7.0-5 (28, 2.92) [installed]
    100% free version of font awesome.

@ammgws
Copy link
Collaborator Author

ammgws commented Sep 6, 2018

This is how mine looks with Iosevka. This is pretty ridiculous haha
image

aur/ttf-iosevka 2.0.0-1
aur/ttf-font-awesome-4 4.7.0-5

@ammgws
Copy link
Collaborator Author

ammgws commented Sep 7, 2018

OK so have managed to fix the arrows by getting rid of DejaVu from the config.
(I also had aur/nerd-fonts-complete 2.0.0-5 installed which I uninstalled at some point in between just in case.)
Edit: Most likely due to nerd-fonts-complete as it looks like it installs FontAwesome 5 and its own DejaVu font.

Before
font pango:DejaVu Sans Mono, FontAwesome 12
image
After
font pango:FontAwesome 12
image

@ammgws ammgws closed this as completed Sep 7, 2018
@atheriel
Copy link
Collaborator

atheriel commented Sep 7, 2018

Good detective work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants